コード例 #1
0
ファイル: RibbonViewModel.cs プロジェクト: imsambit/DaxStudio
 public RibbonViewModel(IDaxStudioHost host, IEventAggregator eventAggregator, IWindowManager windowManager, IGlobalOptions options, ISettingProvider settingProvider)
 {
     _eventAggregator = eventAggregator;
     _eventAggregator.Subscribe(this);
     _host           = host;
     _windowManager  = windowManager;
     SettingProvider = settingProvider;
     Options         = options;
     _theme          = Options.Theme;
     UpdateGlobalOptions();
     CanCut              = true;
     CanCopy             = true;
     CanPaste            = true;
     _sqlProfilerCommand = SqlProfilerHelper.GetSqlProfilerLaunchCommand();
     RecentFiles         = SettingProvider.GetFileMRUList();
     InitRunStyles();
 }