Exemplo n.º 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();
 }
Exemplo n.º 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();
 }
Exemplo n.º 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);
 }
Exemplo n.º 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();
 }
Exemplo n.º 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();
 }
Exemplo n.º 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);
 }
Exemplo n.º 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));
 }
Exemplo n.º 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);
 }
Exemplo n.º 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));
 }
Exemplo n.º 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)
 {
 }
Exemplo n.º 14
0
 public MvcAreaScaffolder(CodeGenerationContext context, CodeGeneratorInformation information) : base(context, information)
 {
 }
Exemplo n.º 15
0
 public SimpleCodeGenerator(CodeGenerationContext context, CodeGeneratorInformation information)
     : base(context, information)
 {
 }
 public TemplateBasedGenerator(CodeGenerationContext context, CodeGeneratorInformation information)
     : base(context, information)
 {
 }
Exemplo n.º 17
0
 protected ControllerScaffolder(CodeGenerationContext context, CodeGeneratorInformation information)
     : base(context, information)
 {
 }
 protected BaseCoreInvokeCodeGeneratorFactoryOnCustomServices(CodeGeneratorInformation codeGeneratorInformation)
     : base(codeGeneratorInformation)
 {
 }
Exemplo n.º 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));
 }
Exemplo n.º 21
0
 public DoNothingCodeGenerator(CodeGenerationContext context, CodeGeneratorInformation information)
     : base(context, information)
 {
 }
Exemplo n.º 22
0
 public ODataControllerWithActionsScaffolder(CodeGenerationContext context, CodeGeneratorInformation information)
     : base(context, information)
 {
 }
Exemplo n.º 23
0
 internal MvcScaffolderSP(CodeGenerationContext context, CodeGeneratorInformation information)
     : base(context, information)
 {
 }
Exemplo n.º 24
0
 public MvcScaffolder(CodeGenerationContext context, CodeGeneratorInformation information)
     : base(context: context, information: information)
 {
     _visualStudioUtils = new VisualStudioUtils();
 }
Exemplo n.º 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)
 {
 }
Exemplo n.º 28
0
 internal WebFormsScaffolder(CodeGenerationContext context, CodeGeneratorInformation information)
     : base(context, information)
 {
 }
Exemplo n.º 29
0
 public MvcControllerEmptyScaffolder(CodeGenerationContext context, CodeGeneratorInformation information) : base(context, information)
 {
 }
Exemplo n.º 30
0
 protected abstract ICodeGenerator CreateInstanceInternal(
     CodeGenerationContext context, CodeGeneratorInformation information);
Exemplo n.º 31
0
 public BaseCoreInvokeCodeGeneratorFactoryOnStandardServices(CodeGeneratorInformation codeGeneratorInformation)
     : base(codeGeneratorInformation)
 {
 }
Exemplo n.º 32
0
 protected ScaffolderFactory(CodeGeneratorInformation information)
     : base(information)
 {
 }
Exemplo n.º 33
0
 public BaseCoreInvokeCodeGeneratorFactory(CodeGeneratorInformation codeGeneratorInformation)
     : base(codeGeneratorInformation)
 {
 }