public MainViewModel(ProfilerPluginBase pluginContext) : base(pluginContext) { if (Designer.IsInDesignModeStatic) return; ThisGuiModelData = new MainGuiModel(); setActions(); }
public ChartsViewModelBase(ProfilerPluginBase pluginContext) : base(pluginContext) { if (Designer.IsInDesignModeStatic) return; CallbacksManagerBase = new CallbacksManagerBase(PluginContext, GuiModelData); GuiModelData.PropertyChanged += GuiModelData_PropertyChanged; CustomTooltipProvider = new CustomTooltipProvider { GetCustomTooltip = GetCustomTooltip }; }
public MainViewModel(ProfilerPluginBase pluginContext) : base(pluginContext) { if (Designer.IsInDesignModeStatic) return; setActions(); setGuiModel(); setEvenets(); }
public MainViewModel(ProfilerPluginBase pluginContext) : base(pluginContext) { if (Designer.IsInDesignModeStatic) return; setActions(); setGuiModel(); _callbacksManager = new CallbacksManager(PluginContext, GuiModelData); setEvenets(); }
public MainViewModel(ProfilerPluginBase pluginContext) : base(pluginContext) { if (Designer.IsInDesignModeStatic) return; ThisGuiModelData = new MainGuiModel(); ThisGuiModelData.PropertyChanged += ThisGuiModelData_PropertyChanged; setActions(); setEvenets(); }
public MainViewModel(ProfilerPluginBase pluginContext) : base(pluginContext) { if (Designer.IsInDesignModeStatic) return; manageAppExit(); initThisGuiModelData(); setActions(); setEvenets(); setCommands(); setDirectoryMonitor(); }
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 MainViewModel(ProfilerPluginBase pluginContext) : base(pluginContext) { if (Designer.IsInDesignModeStatic) return; SetActions(); setEvenets(); GuiModelData.PlotModel.Title = "Commands By Request IDs"; AddXAxis("Request ID"); AddYAxis("Commands Count"); InitPlotModelEvents(); InitUpdatePlotInterval(); }
public MainViewModel(ProfilerPluginBase pluginContext) : base(pluginContext) { if (Designer.IsInDesignModeStatic) return; SetActions(); setEvenets(); GuiModelData.PlotModel.Title = "Commands By Execution Time"; AddXAxis("Command (Id)"); AddYAxis("Execution Time (ms)"); InitPlotModelEvents(); InitUpdatePlotInterval(); }
public MainViewModel(ProfilerPluginBase pluginContext) : base(pluginContext) { if (Designer.IsInDesignModeStatic) return; SetActions(); setEvenets(); GuiModelData.PlotModel.Title = "Commands By Memory Usage"; AddXAxis("Command (Id)"); AddYAxis("Allocated Memory Size (KB)"); InitPlotModelEvents(); InitUpdatePlotInterval(); }
public CallbacksManager(ProfilerPluginBase pluginContext, GuiModelBase guiModelData) : base(pluginContext, guiModelData) { }
public Main(ProfilerPluginBase pluginContext) { InitializeComponent(); this.DataContext = new MainViewModel(pluginContext); }
public JsonLoader(ProfilerPluginBase context, MainGuiModel mainGuiModel) { _context = context; _mainGuiModel = mainGuiModel; }
public ProjectReleasesLoader(ProfilerPluginBase context, MainGuiModel mainGuiModel) { _context = context; _mainGuiModel = mainGuiModel; }