OTX-Runtime for DotNet  
OpenTestSystem.Otx.Runtime.Api.DataTypes.EnumerationElement Class Reference

Represents an element of an OTX Enumeration More...

Public Member Functions

 EnumerationElement (string signature, string elementName, long value, string specification)
 Initializes a new instance of the EnumerationElement. More...
 
override string ToString ()
 Converts to string. More...
 

Properties

IEnumerationSignature Enumeration [get]
 Gets enumeration More...
 
string Name = string.Empty [get]
 Gets the name of the enumeration element More...
 
string? Signature [get]
 Gets the name of the enumeration signature More...
 
string Specification = string.Empty [get]
 Gets the specification. More...
 
TranslationKey TranslationKey [get]
 The TranslationKey will be returned. More...
 
long Value [get]
 Gets the value of the enumeration element More...
 

Detailed Description

Represents an element of an OTX Enumeration

Constructor & Destructor Documentation

◆ EnumerationElement()

OpenTestSystem.Otx.Runtime.Api.DataTypes.EnumerationElement.EnumerationElement ( string  signature,
string  elementName,
long  value,
string  specification 
)
inline

Initializes a new instance of the EnumerationElement.

Parameters
signatureThe name of the enumeration signature
elementNameThe name of the enumeration element
valueThe value of the enumeration element
specificationThe specification

Member Function Documentation

◆ ToString()

override string OpenTestSystem.Otx.Runtime.Api.DataTypes.EnumerationElement.ToString ( )
inline

Converts to string.

Returns
Returns the string.

Property Documentation

◆ Enumeration

IEnumerationSignature OpenTestSystem.Otx.Runtime.Api.DataTypes.EnumerationElement.Enumeration
get

Gets enumeration

◆ Name

string OpenTestSystem.Otx.Runtime.Api.DataTypes.EnumerationElement.Name = string.Empty
get

Gets the name of the enumeration element

◆ Signature

string? OpenTestSystem.Otx.Runtime.Api.DataTypes.EnumerationElement.Signature
get

Gets the name of the enumeration signature

Deprecated:
EnumerationElement.Signature is deprecated.

◆ Specification

string OpenTestSystem.Otx.Runtime.Api.DataTypes.EnumerationElement.Specification = string.Empty
get

Gets the specification.

Deprecated:
EnumerationElement.Specification is deprecated.

◆ TranslationKey

TranslationKey OpenTestSystem.Otx.Runtime.Api.DataTypes.EnumerationElement.TranslationKey
get

The TranslationKey will be returned.

◆ Value

long OpenTestSystem.Otx.Runtime.Api.DataTypes.EnumerationElement.Value
get

Gets the value of the enumeration element


The documentation for this class was generated from the following file: