示例#1
0
 public CodeConversion(IServiceProvider serviceProvider, VisualStudioWorkspace visualStudioWorkspace,
                       Func <ConverterOptionsPage> getOptions)
 {
     GetOptions             = getOptions;
     _serviceProvider       = serviceProvider;
     _visualStudioWorkspace = visualStudioWorkspace;
     _outputWindow          = new VisualStudioInteraction.OutputWindow();
 }
 public CodeConversion(IAsyncServiceProvider serviceProvider, VisualStudioWorkspace visualStudioWorkspace,
                       Func <Task <ConverterOptionsPage> > getOptions, VisualStudioInteraction.OutputWindow outputWindow)
 {
     GetOptions             = getOptions;
     _serviceProvider       = serviceProvider;
     _visualStudioWorkspace = visualStudioWorkspace;
     _outputWindow          = outputWindow;
 }