Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public static void Initialize(IErrorList errorList)
 {
     Instance = new ErrorProcessor(errorList);
 }