发布事件时,如果通过上下文指定ClientId,则在分发时跳过自己的处理器
智能大石头 authored at 2025-12-22 11:08:21
420.00 B
X
using System;
using System.Windows.Input;
using Xamarin.Essentials;
using Xamarin.Forms;

namespace MobileApp.ViewModels
{
    public class AboutViewModel : BaseViewModel
    {
        public AboutViewModel()
        {
            Title = "关于";

            OpenWebCommand = new Command(() => Launcher.OpenAsync(new Uri("https://newlifex.com")));
        }

        public ICommand OpenWebCommand { get; }
    }
}