Example #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;
        }
Example #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>();
        }
Example #3
0
 public ODataFrameworkDependency(INuGetRepository repository, IVisualStudioIntegration visualStudioIntegration) : base(repository, visualStudioIntegration)
 {
 }
Example #4
0
 protected ConfigurationEditor(IVisualStudioIntegration visualStudio)
 {
     this.VisualStudio = visualStudio;
 }
Example #5
0
 public ODataDependencyInstaller(CodeGenerationContext context, IVisualStudioIntegration visualStudioIntegration)
     : base(context, visualStudioIntegration)
 {
 }
Example #6
0
 public ODataDependencyInstaller(CodeGenerationContext context, IVisualStudioIntegration visualStudioIntegration)
     : base(context, visualStudioIntegration)
 {
 }
Example #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));
 }
Example #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));
 }
Example #10
0
 public MvcFullDependencyInstaller(CodeGenerationContext context, IVisualStudioIntegration visualStudioIntegration, INuGetRepository repository) : base(context, visualStudioIntegration)
 {
     this.Repository = repository;
 }