public ProjectDesignerService(IUnconfiguredProjectVsServices projectVsServices, IVsProjectDesignerPageService vsProjectDesignerPageService) { Requires.NotNull(projectVsServices, nameof(projectVsServices)); Requires.NotNull(vsProjectDesignerPageService, nameof(vsProjectDesignerPageService)); _projectVsServices = projectVsServices; _vsProjectDesignerPageService = vsProjectDesignerPageService; }
public ProjectDesignerService(IUnconfiguredProjectVsServices projectVsServices, IVsProjectDesignerPageService vsProjectDesignerPageService) { _projectVsServices = projectVsServices; _vsProjectDesignerPageService = vsProjectDesignerPageService; }
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)); }