/// <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);
 }
Esempio n. 2
0
        public SelectModelWindow(CustomViewModel viewModel)
        {
            InitializeComponent();

            DataContext = viewModel;
        }
        public SelectModelWindow(CustomViewModel viewModel)
        {
            InitializeComponent();

            DataContext = viewModel;
        }