コード例 #1
0
        protected override async Task InitializeAsync(CancellationToken cancellationToken, IProgress <ServiceProgressData> progress)
        {
            await this.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);

            await XamarinXamlPowerToysCommand.InitializeAsync(this);

            await XamlPowerToysCommand.InitializeAsync(this);
        }
コード例 #2
0
 protected override void Initialize()
 {
     XamarinXamlPowerToysCommand.Initialize(this);
     XamlPowerToysCommand.Initialize(this);
     base.Initialize();
 }