Пример #1
0
 /// <summary>
 /// Constructor for the custom code generator
 /// </summary>
 /// <param name="context">Context of the current code generation operation based on how scaffolder was invoked(such as selected project/folder) </param>
 /// <param name="information">Code generation information that is defined in the factory class.</param>
 public FieldGenerator(
     CodeGenerationContext context,
     CodeGeneratorInformation information)
     : base(context, information)
 {
     _viewModel = new FieldViewModel();
 }
Пример #2
0
 /// <summary>
 /// Constructor for the custom code generator
 /// </summary>
 /// <param name="context">Context of the current code generation operation based on how scaffolder was invoked(such as selected project/folder) </param>
 /// <param name="information">Code generation information that is defined in the factory class.</param>
 public ElementGenerator(
     CodeGenerationContext context,
     CodeGeneratorInformation information)
     : base(context, information)
 {
     _viewModel = new ElementViewModel();
 }
Пример #3
0
 /// <summary>
 /// Constructor for the custom code generator
 /// </summary>
 /// <param name="context">Context of the current code generation operation based on how scaffolder was invoked(such as selected project/folder) </param>
 /// <param name="information">Code generation information that is defined in the factory class.</param>
 public GenericRepositoryScaffold(
     CodeGenerationContext context,
     CodeGeneratorInformation information)
     : base(context, information)
 {
     _viewModel = new CustomViewModel(Context);
 }
 /// <summary>
 /// Constructor for the custom code generator
 /// </summary>
 /// <param name="context">Context of the current code generation operation based on how scaffolder was invoked(such as selected project/folder) </param>
 /// <param name="information">Code generation information that is defined in the factory class.</param>
 public CustomCodeGenerator(
     CodeGenerationContext context,
     CodeGeneratorInformation information)
     : base(context, information)
 {
     _viewModel = new CustomViewModel(Context);
 }
Пример #5
0
 /// <summary>
 /// Constructor for the custom code generator
 /// </summary>
 /// <param name="context">Context of the current code generation operation based on how scaffolder was invoked(such as selected project/folder) </param>
 /// <param name="information">Code generation information that is defined in the factory class.</param>
 public ElementGenerator(
     CodeGenerationContext context,
     CodeGeneratorInformation information)
     : base(context, information)
 {
     _viewModel = new ElementViewModel();
 }
Пример #6
0
 /// <summary>
 /// Constructor for the custom code generator
 /// </summary>
 /// <param name="context">Context of the current code generation operation based on how scaffolder was invoked(such as selected project/folder) </param>
 /// <param name="information">Code generation information that is defined in the factory class.</param>
 public FieldGenerator(
     CodeGenerationContext context,
     CodeGeneratorInformation information)
     : base(context, information)
 {
     _viewModel = new FieldViewModel();
 }
Пример #7
0
 /// <summary>
 /// Constructor for the custom code generator
 /// </summary>
 /// <param name="context">Context of the current code generation operation based on how scaffolder was invoked(such as selected project/folder) </param>
 /// <param name="information">Code generation information that is defined in the factory class.</param>
 public CustomCodeGenerator(
     CodeGenerationContext context,
     CodeGeneratorInformation information)
     : base(context, information)
 {
     _viewModel = new CustomViewModel(Context);
 }
Пример #8
0
 protected InteractiveScaffolder(CodeGenerationContext context, CodeGeneratorInformation information)
     : base(context, information)
 {
     Framework  = context.Items.GetProperty <TFramework>(typeof(TFramework));
     Repository = context.Items.GetProperty <INuGetRepository>(typeof(INuGetRepository));
     VisualStudioIntegration = context.Items.GetProperty <IVisualStudioIntegration>(typeof(IVisualStudioIntegration));
 }
Пример #9
0
 /// <summary>
 /// Constructor for the custom code generator
 /// </summary>
 /// <param name="context">Context of the current code generation operation based on how scaffolder was invoked(such as selected project/folder) </param>
 /// <param name="information">Code generation information that is defined in the factory class.</param>
 public TypeSettingsGenerator(
     CodeGenerationContext context,
     CodeGeneratorInformation information)
     : base(context, information)
 {
     _viewModel = new TypeSettingsViewModel(Context);
 }
Пример #10
0
 public BaseCoreInvokeCodeGenerator(CodeGenerationContext context, CodeGeneratorInformation information)
     : base(context, information)
 {
     commandLineInvoker                 = context.Items.GetProperty <ICommandLineInvoker>(typeof(ICommandLineInvoker));
     fileSystemChangeExecutor           = context.Items.GetProperty <IFileSystemChangeExecutor>(typeof(IFileSystemChangeExecutor));
     mvcCoreCodeGenerationActionService = context.Items.GetProperty <IMvcCoreCodeGenerationActionService>(typeof(IMvcCoreCodeGenerationActionService));
     projectContextBuilder              = context.Items.GetProperty <IProjectContextBuilder>(typeof(IProjectContextBuilder));
 }
Пример #11
0
        protected InteractiveScaffolder(CodeGenerationContext context, CodeGeneratorInformation information)
            : base(context, information)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

            Framework  = context.Items.GetProperty <TFramework>(typeof(TFramework));
            Repository = context.Items.GetProperty <INuGetRepository>(typeof(INuGetRepository));
            VisualStudioIntegration = context.Items.GetProperty <IVisualStudioIntegration>(typeof(IVisualStudioIntegration));
        }
 /// <summary>
 /// Constructor for the custom code generator
 /// </summary>
 /// <param name="context">Context of the current code generation operation based on how scaffolder was invoked(such as selected project/folder) </param>
 /// <param name="information">Code generation information that is defined in the factory class.</param>
 public CustomCodeGenerator(
     CodeGenerationContext context,
     CodeGeneratorInformation information)
     : base(context, information)
 {
     try
     {
         _viewModel = new CustomViewModel(Context);
     }
     catch (Exception exc)
     {
     }
 }
 public ApiControllerWithContextScaffolder(CodeGenerationContext context, CodeGeneratorInformation information) : base(context, information)
 {
 }
Пример #14
0
 public MvcAreaScaffolder(CodeGenerationContext context, CodeGeneratorInformation information) : base(context, information)
 {
 }
Пример #15
0
 public SimpleCodeGenerator(CodeGenerationContext context, CodeGeneratorInformation information)
     : base(context, information)
 {
 }
 public TemplateBasedGenerator(CodeGenerationContext context, CodeGeneratorInformation information)
     : base(context, information)
 {
 }
Пример #17
0
 protected ControllerScaffolder(CodeGenerationContext context, CodeGeneratorInformation information)
     : base(context, information)
 {
 }
 protected BaseCoreInvokeCodeGeneratorFactoryOnCustomServices(CodeGeneratorInformation codeGeneratorInformation)
     : base(codeGeneratorInformation)
 {
 }
Пример #19
0
 internal ModuleScaffolder(CodeGenerationContext context, CodeGeneratorInformation information)
     : base(context, information)
 {
 }
 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));
 }
Пример #21
0
 public DoNothingCodeGenerator(CodeGenerationContext context, CodeGeneratorInformation information)
     : base(context, information)
 {
 }
Пример #22
0
 public ODataControllerWithActionsScaffolder(CodeGenerationContext context, CodeGeneratorInformation information)
     : base(context, information)
 {
 }
Пример #23
0
 internal MvcScaffolderSP(CodeGenerationContext context, CodeGeneratorInformation information)
     : base(context, information)
 {
 }
Пример #24
0
 public MvcScaffolder(CodeGenerationContext context, CodeGeneratorInformation information)
     : base(context: context, information: information)
 {
     _visualStudioUtils = new VisualStudioUtils();
 }
Пример #25
0
 public RestierConfigScaffolder(CodeGenerationContext context, CodeGeneratorInformation information)
     : base(context, information)
 {
 }
 public NgCodeGenerator(CodeGenerationContext context, CodeGeneratorInformation information)
     : base(context, information)
 {
     _viewModel = new ListarEntidadesViewModel(Context);
 }
 public CoreInvokeCodeGenerator(CodeGenerationContext context, CodeGeneratorInformation information)
     : base(context, information)
 {
 }
Пример #28
0
 internal WebFormsScaffolder(CodeGenerationContext context, CodeGeneratorInformation information)
     : base(context, information)
 {
 }
Пример #29
0
 public MvcControllerEmptyScaffolder(CodeGenerationContext context, CodeGeneratorInformation information) : base(context, information)
 {
 }
Пример #30
0
 protected abstract ICodeGenerator CreateInstanceInternal(
     CodeGenerationContext context, CodeGeneratorInformation information);
Пример #31
0
 public BaseCoreInvokeCodeGeneratorFactoryOnStandardServices(CodeGeneratorInformation codeGeneratorInformation)
     : base(codeGeneratorInformation)
 {
 }
Пример #32
0
 protected ScaffolderFactory(CodeGeneratorInformation information)
     : base(information)
 {
 }
Пример #33
0
 public BaseCoreInvokeCodeGeneratorFactory(CodeGeneratorInformation codeGeneratorInformation)
     : base(codeGeneratorInformation)
 {
 }