Example #1
0
        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;
        }
Example #2
0
 public CallbacksManager(ProfilerPluginBase pluginContext, GuiModelBase guiModelData)
     : base(pluginContext, guiModelData)
 {
 }
Example #3
0
 private void setGuiModel()
 {
     GuiModelData = new GuiModelBase();
     GuiModelData.PropertyChanged += GuiModelData_PropertyChanged;
 }
 public CallbacksManagerBase(ProfilerPluginBase pluginContext, GuiModelBase guiModelData)
 {
     PluginContext = pluginContext;
     GuiModelData  = guiModelData;
 }