예제 #1
0
        public CommandLinePlugin()
        {
            viewModel = new ControlViewModel();
            //viewModel.PropertyChanged += HandleViewModelPropertyChanged;
            controller = new ContentPipelineController();

            aliasCodeGenerator = new AliasCodeGenerator();
            aliasCodeGenerator.Initialize(controller);
            // todo?
            //CodeWriter.GlobalContentCodeGenerators.Add(aliasCodeGenerator);
        }
예제 #2
0
 private void CreateAliasCodeGenerator()
 {
     aliasCodeGenerator = new AliasCodeGenerator();
     aliasCodeGenerator.Initialize(controller);
     CodeWriter.GlobalContentCodeGenerators.Add(aliasCodeGenerator);
 }