public MainViewModelBase(ProfilerPluginBase pluginContext) { if (Designer.IsInDesignModeStatic) return; PluginContext = pluginContext; GuiModelData = new GuiModelBase(); DoOpenFile = new DelegateCommand<CallingMethodInfo>(OpenFile, info => true); DoCopySelectedLine = new DelegateCommand<object>(CopySelectedLine, info => true); DoCopyAllLines = new DelegateCommand<object>(CopyAllLines, info => true); DoOpenPopupToolTip = new DelegateCommand<object>(OpenPopupToolTip, info => true); DoOpenCommandToolTip = new DelegateCommand<Command>(OpenCommandToolTip, info => true); PluginContext.ProfilerData.ApplicationIdentities.CollectionChanged += ApplicationIdentities_CollectionChanged; }
public CallbacksManager(ProfilerPluginBase pluginContext, GuiModelBase guiModelData) : base(pluginContext, guiModelData) { }
private void setGuiModel() { GuiModelData = new GuiModelBase(); GuiModelData.PropertyChanged += GuiModelData_PropertyChanged; }