Exemplo n.º 1
0
        public CreateFileFromTemplateService(IUnconfiguredProjectVsServices projectVsServices, IDteServices dteServices, ProjectProperties properties)
        {
            Requires.NotNull(projectVsServices, nameof(projectVsServices));
            Requires.NotNull(dteServices, nameof(dteServices));
            Requires.NotNull(properties, nameof(properties));

            _projectVsServices = projectVsServices;
            _dteServices       = dteServices;
            _properties        = properties;
        }
 public CreateFileFromTemplateService(IUnconfiguredProjectVsServices projectVsServices, IDteServices dteServices, ProjectProperties properties)
 {
     _projectVsServices = projectVsServices;
     _dteServices       = dteServices;
     _properties        = properties;
 }
        private CreateFileFromTemplateService CreateInstance(IUnconfiguredProjectVsServices projectVsServices, IDteServices dteServices, ProjectProperties properties)
        {
            projectVsServices = projectVsServices ?? IUnconfiguredProjectVsServicesFactory.Create();
            dteServices       = dteServices ?? IDteServicesFactory.Create();
            properties        = properties ?? ProjectPropertiesFactory.CreateEmpty();

            return(new CreateFileFromTemplateService(projectVsServices, dteServices, properties));
        }
 public DteEnvironmentOptions(IDteServices dteServices)
 {
     _dteServices = dteServices;
 }
Exemplo n.º 5
0
        public DteEnvironmentOptions(IDteServices dteServices)
        {
            Requires.NotNull(dteServices, nameof(dteServices));

            _dteServices = dteServices;
        }