protected override async Task InitializeAsync(CancellationToken cancellationToken, IProgress <ServiceProgressData> progress) { await this.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken); await XamarinXamlPowerToysCommand.InitializeAsync(this); await XamlPowerToysCommand.InitializeAsync(this); }
protected override void Initialize() { XamarinXamlPowerToysCommand.Initialize(this); XamlPowerToysCommand.Initialize(this); base.Initialize(); }