public ProjectDesignerService(IUnconfiguredProjectVsServices projectVsServices, IVsProjectDesignerPageService vsProjectDesignerPageService)
        {
            Requires.NotNull(projectVsServices, nameof(projectVsServices));
            Requires.NotNull(vsProjectDesignerPageService, nameof(vsProjectDesignerPageService));

            _projectVsServices            = projectVsServices;
            _vsProjectDesignerPageService = vsProjectDesignerPageService;
        }
Exemple #2
0
 public ProjectDesignerService(IUnconfiguredProjectVsServices projectVsServices, IVsProjectDesignerPageService vsProjectDesignerPageService)
 {
     _projectVsServices            = projectVsServices;
     _vsProjectDesignerPageService = vsProjectDesignerPageService;
 }
Exemple #3
0
 private static ProjectDesignerService CreateInstance(IVsProjectDesignerPageService vsProjectDesignerPageService)
 {
     return(CreateInstance(null, vsProjectDesignerPageService));
 }
        private static ProjectDesignerService CreateInstance(IUnconfiguredProjectVsServices projectVsServices, IVsProjectDesignerPageService vsProjectDesignerPageService)
        {
            projectVsServices ??= IUnconfiguredProjectVsServicesFactory.Create();
            vsProjectDesignerPageService ??= IVsProjectDesignerPageServiceFactory.Create();

            return(new ProjectDesignerService(projectVsServices, vsProjectDesignerPageService));
        }
 private static ProjectDesignerService CreateInstance(IVsProjectDesignerPageService vsProjectDesignerPageService)
 {
     return(CreateInstance((IUnconfiguredProjectVsServices)null, vsProjectDesignerPageService));
 }