예제 #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();
 }