예제 #1
0
        public DesignerViewModel(
            IDesignerControlCreatorService designerControlCreatorService,
            ISnippetService codeSnippetService,
            IWidgetCompiler compilerService,
            IWidgetService widgetService,
            IDialogService dialogService)
        {
            _designerControlCreatorService = designerControlCreatorService;
            _codeSnippetService            = codeSnippetService;
            _widgetService   = widgetService;
            _dialogService   = dialogService;
            _compilerService = compilerService;

            Initialize();
            InitCommands();
        }
예제 #2
0
 public WidgetService(IWidgetManagerService managementService, IWidgetCompiler compiler)
 {
     _managementService = managementService;
     _compiler          = compiler;
 }