protected override async System.Threading.Tasks.Task InitializeAsync(CancellationToken cancellationToken, IProgress <ServiceProgressData> progress) { await JoinableTaskFactory.SwitchToMainThreadAsync(); Options = (Options)GetDialogPage(typeof(Options)); EnableValidation.Initialize(this); }
public static void Initialize(Package package) { Instance = new EnableValidation(package); }