예제 #1
0
        public ODataFrameworkDependency(INuGetRepository repository, IVisualStudioIntegration visualStudioIntegration)
        {
            if (repository == null)
            {
                throw new ArgumentNullException("repository");
            }

            if (visualStudioIntegration == null)
            {
                throw new ArgumentNullException("visualStudioIntegration");
            }

            Repository = repository;
            VisualStudioIntegration = visualStudioIntegration;
        }
예제 #2
0
        protected DependencyInstaller(CodeGenerationContext context, IVisualStudioIntegration visualStudioIntegration)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

            if (visualStudioIntegration == null)
            {
                throw new ArgumentNullException("visualStudioIntegration");
            }

            Context = context;
            VisualStudioIntegration = visualStudioIntegration;

            ActionsService = context.ServiceProvider.GetService<ICodeGeneratorActionsService>();
            FilesLocatorService = context.ServiceProvider.GetService<ICodeGeneratorFilesLocator>();

            AppStartFileNames = new Dictionary<string, string>();
        }
예제 #3
0
 public ODataFrameworkDependency(INuGetRepository repository, IVisualStudioIntegration visualStudioIntegration) : base(repository, visualStudioIntegration)
 {
 }
예제 #4
0
 protected ConfigurationEditor(IVisualStudioIntegration visualStudio)
 {
     this.VisualStudio = visualStudio;
 }
예제 #5
0
 public ODataDependencyInstaller(CodeGenerationContext context, IVisualStudioIntegration visualStudioIntegration)
     : base(context, visualStudioIntegration)
 {
 }
예제 #6
0
 public ODataDependencyInstaller(CodeGenerationContext context, IVisualStudioIntegration visualStudioIntegration)
     : base(context, visualStudioIntegration)
 {
 }
예제 #7
0
 protected InteractiveScaffolder(CodeGenerationContext context, CodeGeneratorInformation information) : base(context, information)
 {
     this.Framework  = context.Items.GetProperty <TFramework>(typeof(TFramework));
     this.Repository = context.Items.GetProperty <INuGetRepository>(typeof(INuGetRepository));
     this.VisualStudioIntegration = context.Items.GetProperty <IVisualStudioIntegration>(typeof(IVisualStudioIntegration));
 }
예제 #8
0
 public MvcConfigurationEditor(IVisualStudioIntegration visualStudio) : base(visualStudio)
 {
 }
 public MvcDependencyScaffolder(CodeGenerationContext context, CodeGeneratorInformation information) : base(context, information)
 {
     this.Repository = context.Items.GetProperty <INuGetRepository>(typeof(INuGetRepository));
     this.VisualStudioIntegration = context.Items.GetProperty <IVisualStudioIntegration>(typeof(IVisualStudioIntegration));
 }
예제 #10
0
 public MvcFullDependencyInstaller(CodeGenerationContext context, IVisualStudioIntegration visualStudioIntegration, INuGetRepository repository) : base(context, visualStudioIntegration)
 {
     this.Repository = repository;
 }