/// <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(); }
/// <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(); }
/// <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); }
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)); }
/// <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); }
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)); }
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) { }
public MvcAreaScaffolder(CodeGenerationContext context, CodeGeneratorInformation information) : base(context, information) { }
public SimpleCodeGenerator(CodeGenerationContext context, CodeGeneratorInformation information) : base(context, information) { }
public TemplateBasedGenerator(CodeGenerationContext context, CodeGeneratorInformation information) : base(context, information) { }
protected ControllerScaffolder(CodeGenerationContext context, CodeGeneratorInformation information) : base(context, information) { }
protected BaseCoreInvokeCodeGeneratorFactoryOnCustomServices(CodeGeneratorInformation codeGeneratorInformation) : base(codeGeneratorInformation) { }
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)); }
public DoNothingCodeGenerator(CodeGenerationContext context, CodeGeneratorInformation information) : base(context, information) { }
public ODataControllerWithActionsScaffolder(CodeGenerationContext context, CodeGeneratorInformation information) : base(context, information) { }
internal MvcScaffolderSP(CodeGenerationContext context, CodeGeneratorInformation information) : base(context, information) { }
public MvcScaffolder(CodeGenerationContext context, CodeGeneratorInformation information) : base(context: context, information: information) { _visualStudioUtils = new VisualStudioUtils(); }
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) { }
internal WebFormsScaffolder(CodeGenerationContext context, CodeGeneratorInformation information) : base(context, information) { }
public MvcControllerEmptyScaffolder(CodeGenerationContext context, CodeGeneratorInformation information) : base(context, information) { }
protected abstract ICodeGenerator CreateInstanceInternal( CodeGenerationContext context, CodeGeneratorInformation information);
public BaseCoreInvokeCodeGeneratorFactoryOnStandardServices(CodeGeneratorInformation codeGeneratorInformation) : base(codeGeneratorInformation) { }
protected ScaffolderFactory(CodeGeneratorInformation information) : base(information) { }
public BaseCoreInvokeCodeGeneratorFactory(CodeGeneratorInformation codeGeneratorInformation) : base(codeGeneratorInformation) { }