Table of Contents

Class ComplianceBenchmarkResult

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents a compliance benchmark result.

public class ComplianceBenchmarkResult : GlobalSerializableClassicBase, IComparable<ComplianceBenchmarkResult>
Inheritance
ComplianceBenchmarkResult
Implements

Constructors

ComplianceBenchmarkResult()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.ComplianceBenchmarkResult class.

public ComplianceBenchmarkResult()

Properties

ConfiguredDisplayValue

Gets or sets the configured value as a human readable string.

public string ConfiguredDisplayValue { get; set; }

Property Value

string

DisplayName

Gets the display name of the benchmark result.

public string DisplayName { get; }

Property Value

string

ReferenceNumber

Gets or sets the unique benchmark reference number for this result.

public SerializableReferenceNumber ReferenceNumber { get; set; }

Property Value

SerializableReferenceNumber

ReferenceNumberString

Gets or sets the reference number stored as an human readable string.

[Browsable(false)]
public string ReferenceNumberString { get; set; }

Property Value

string

ResultType

Gets or sets the compliance result type.

public ComplianceBenchmarkResultType ResultType { get; set; }

Property Value

ComplianceBenchmarkResultType

ResultTypeString

Gets the compliance result type as a human readable string.

public string ResultTypeString { get; set; }

Property Value

string

Title

Gets or sets the display name of this benchmark result.

public string Title { get; set; }

Property Value

string

Methods

CompareTo(ComplianceBenchmarkResult)

Compares two benchmark results to allow sorting by reference number.

public int CompareTo(ComplianceBenchmarkResult other)

Parameters

other ComplianceBenchmarkResult

The CENTREL.XIA.Configuration.Types.ComplianceBenchmarkResult to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.ComplianceBenchmarkResult objects.

GetResultTypeName(ComplianceBenchmarkResultType)

Returns the display name of the specified result type.

public static string GetResultTypeName(ComplianceBenchmarkResultType resultType)

Parameters

resultType ComplianceBenchmarkResultType

The CENTREL.XIA.Configuration.Types.ComplianceBenchmarkResultType for which the display name should be returned.

Returns

string

The result type display name as a System.String.

ToString()

Returns the CENTREL.XIA.Configuration.Types.ComplianceBenchmarkResult as a human readable string.

public override string ToString()

Returns

string

The CENTREL.XIA.Configuration.Types.ComplianceBenchmarkResult as a human readable string.