public CommandLinePlugin() { viewModel = new ControlViewModel(); //viewModel.PropertyChanged += HandleViewModelPropertyChanged; controller = new ContentPipelineController(); aliasCodeGenerator = new AliasCodeGenerator(); aliasCodeGenerator.Initialize(controller); // todo? //CodeWriter.GlobalContentCodeGenerators.Add(aliasCodeGenerator); }
private void CreateAliasCodeGenerator() { aliasCodeGenerator = new AliasCodeGenerator(); aliasCodeGenerator.Initialize(controller); CodeWriter.GlobalContentCodeGenerators.Add(aliasCodeGenerator); }