Class
PerformanceMainViewModel

Definition

Namespace:ArtOfTest.WebAii.Design.UI

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public class PerformanceMainViewModel : ViewModelBase

Inheritance: objectPerformanceMainViewModel

Constructors

PerformanceMainViewModel()

Declaration

cs-api-definition
public PerformanceMainViewModel()

Properties

ActiveProfile

Declaration

cs-api-definition
public PerformanceProfileViewModel ActiveProfile { get; set; }

Property Value

PerformanceProfileViewModel

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

cs-api-definition
public ObservableCollection<PerformanceProfileMetadataViewModel> AllProfiles { get; set; }

Property Value

ObservableCollection<PerformanceProfileMetadataViewModel>

BenchmarkProfile

This property is the ONLY manner you should use to set the benchmark profile.

Declaration

cs-api-definition
public PerformanceProfileMetadataViewModel BenchmarkProfile { get; set; }

Property Value

PerformanceProfileMetadataViewModel

BusyContent

Declaration

cs-api-definition
public string BusyContent { get; set; }

Property Value

string

CompareViewModel

Declaration

cs-api-definition
public PerformanceCompareViewModel CompareViewModel { get; set; }

Property Value

PerformanceCompareViewModel

ConfigurationViewModel

Declaration

cs-api-definition
public PerformanceConfigurationViewModel ConfigurationViewModel { get; set; }

Property Value

PerformanceConfigurationViewModel

IsBusy

Declaration

cs-api-definition
public bool IsBusy { get; set; }

Property Value

bool

IsLastProfileLogValid

Declaration

cs-api-definition
public bool IsLastProfileLogValid { get; set; }

Property Value

bool

IsProfilerRunning

Declaration

cs-api-definition
public bool IsProfilerRunning { get; }

Property Value

bool

LastProfileFilePath

Declaration

cs-api-definition
public string LastProfileFilePath { get; set; }

Property Value

string

LastProfileLog

Declaration

cs-api-definition
public string LastProfileLog { get; set; }

Property Value

string

LastProfilerRunResult

Declaration

cs-api-definition
public ExecutionReturnValues LastProfilerRunResult { get; set; }

Property Value

ExecutionReturnValues

ProfilerComponentViewModels

Declaration

cs-api-definition
public ObservableCollection<ProfilerComponentWrapperViewModel> ProfilerComponentViewModels { get; set; }

Property Value

ObservableCollection<ProfilerComponentWrapperViewModel>

ProfilerRunBrowserType

Declaration

cs-api-definition
public BrowserType ProfilerRunBrowserType { get; set; }

Property Value

BrowserType

SupportedBrowserTypes

Declaration

cs-api-definition
public IList SupportedBrowserTypes { get; }

Property Value

IList

Test

Declaration

cs-api-definition
public Test Test { get; set; }

Property Value

Test

TestSwitchedAndNeedsAttention

Declaration

cs-api-definition
public bool TestSwitchedAndNeedsAttention { get; set; }

Property Value

bool

UIProject

Declaration

cs-api-definition
public IUIProject UIProject { get; set; }

Property Value

IUIProject

Methods

AbortProfiler()

Declaration

cs-api-definition
public void AbortProfiler()

DeleteProfile(PerformanceProfileMetadataViewModel)

Declaration

cs-api-definition
public void DeleteProfile(PerformanceProfileMetadataViewModel profile)

Parameters

profile

PerformanceProfileMetadataViewModel

EnumProfilesAsync()

Create a historical view of a number of performance runs of a certain test

Declaration

cs-api-definition
public Task EnumProfilesAsync()

Returns

Task

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

cs-api-definition
public void OnTestSaving()

RunProfiler()

Declaration

cs-api-definition
public void RunProfiler()