Example #1
0
        protected override async Tasks.Task InitializeAsync(CancellationToken cancellationToken, IProgress <ServiceProgressData> progress)
        {
            var errorList = await GetServiceAsync(typeof(SVsErrorList)) as IErrorList;

            await JoinableTaskFactory.SwitchToMainThreadAsync();

            Options = (Options)GetDialogPage(typeof(Options));

            ErrorProcessor.Initialize(errorList);
        }
 public static void Initialize(IErrorList errorList)
 {
     Instance = new ErrorProcessor(errorList);
 }