示例#1
0
        private static ErrorListProvider CreateErrorListProvider(IVsIdeScope vsIdeScope)
        {
            var errorListProvider = new ErrorListProvider(vsIdeScope.ServiceProvider)
            {
                ProviderName = "Deveroom",
                ProviderGuid = new Guid("{0394E2AB-B68C-4A22-8F35-BDA6C349A5E7}")
            };

            errorListProvider.Subcategories.AddRange(Enum.GetNames(typeof(DeveroomUserErrorCategory)));
            return(errorListProvider);
        }
 public VsIdeActionsBase(IVsIdeScope ideScope)
 {
     IdeScope = ideScope;
 }
 public NullIdeActions(IVsIdeScope ideScope) : base(ideScope)
 {
 }
示例#4
0
 public VsDeveroomOutputPaneServices(IVsIdeScope vsIdeScope) : base(vsIdeScope)
 {
     _outputWindowPane = new Lazy <IVsOutputWindowPane>(CreateOutputWindowPane);
 }
示例#5
0
 protected VsServiceBase(IVsIdeScope vsIdeScope)
 {
     _vsIdeScope = vsIdeScope;
     _dispatcher = Dispatcher.CurrentDispatcher;
 }
 public RegenerateAllFeatureFileCodeBehindCommand(IVsIdeScope vsIdeScope)
 {
     _vsIdeScope = vsIdeScope;
 }
示例#7
0
 public VsDeveroomErrorListServices(IVsIdeScope vsIdeScope) : base(vsIdeScope)
 {
     _errorListProvider = new Lazy <ErrorListProvider>(() =>
                                                       CreateErrorListProvider(vsIdeScope));
 }
 public VsDeveroomOutputPaneServices(IVsIdeScope vsIdeScope)
 {
     _vsIdeScope       = vsIdeScope;
     _dispatcher       = Dispatcher.CurrentDispatcher;
     _outputWindowPane = new Lazy <IVsOutputWindowPane>(CreateOutputWindowPane);
 }