ClassPerformanceMainViewModel
Definition
Namespace:ArtOfTest.WebAii.Design.UI
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
public class PerformanceMainViewModel : ViewModelBase
Inheritance: objectPerformanceMainViewModel
Constructors
PerformanceMainViewModel()
Declaration
public PerformanceMainViewModel()
Properties
ActiveProfile
Declaration
public PerformanceProfileViewModel ActiveProfile { get; set; }
Property Value
AllProfiles
Assigning null to this property forces a refresh the next time it's referenced. This property never returns null and its contents are always sorted in ascending order by timestamp.
Declaration
public ObservableCollection<PerformanceProfileMetadataViewModel> AllProfiles { get; set; }
Property Value
BenchmarkProfile
This property is the ONLY manner you should use to set the benchmark profile.
Declaration
public PerformanceProfileMetadataViewModel BenchmarkProfile { get; set; }
Property Value
CompareViewModel
Declaration
public PerformanceCompareViewModel CompareViewModel { get; set; }
Property Value
ConfigurationViewModel
Declaration
public PerformanceConfigurationViewModel ConfigurationViewModel { get; set; }
Property Value
LastProfilerRunResult
Declaration
public ExecutionReturnValues LastProfilerRunResult { get; set; }
Property Value
ProfilerComponentViewModels
Declaration
public ObservableCollection<ProfilerComponentWrapperViewModel> ProfilerComponentViewModels { get; set; }
Property Value
ProfilerRunBrowserType
Declaration
public BrowserType ProfilerRunBrowserType { get; set; }
Property Value
TestSwitchedAndNeedsAttention
Declaration
public bool TestSwitchedAndNeedsAttention { get; set; }
Property Value
Methods
AbortProfiler()
Declaration
public void AbortProfiler()
DeleteProfile(PerformanceProfileMetadataViewModel)
Declaration
public void DeleteProfile(PerformanceProfileMetadataViewModel profile)
Parameters
profile
EnumProfilesAsync()
Create a historical view of a number of performance runs of a certain test
Declaration
public Task EnumProfilesAsync()
Returns
Remarks
JAS: Only MainViewModel should call this. If anyone else wants an enum'd list, they should just copy what MainViewModel has. This way we have less loading and nobody has a superset of the source list.
OnTestSaving()
Declaration
public void OnTestSaving()
RunProfiler()
Declaration
public void RunProfiler()