C# Класс EmberLib.Glow.GlowParameterBase

Base class for the EmberPlus-Glow.Parameter and EmberPlus-Glow.QualifiedParameter types.
Наследование: GlowContentElement
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CompliesWithSchema ( string schemaIdentifier ) : bool

Tests if the parameter complies with the schema with the passed schema identifier.

GetEnumeration ( ) : int>>.IEnumerable

Yield a collection of name/value pairs that represent an enumeration. It takes into account both the enumMap and the enumeration property, with the enumMap property taking precedence over the enumeration property.

GetFormula ( ) : GlowFormulaSource

Gets the value of the "formula" field of the "contents" SET.

SetFormula ( GlowFormulaSource formula ) : void

Sets the value of the "formula" field of the "contents" SET.

Защищенные методы

Метод Описание
GlowParameterBase ( BerTag tag, uint type ) : System

Creates a new instance of GlowParameterBase.

InsertMinMax ( BerTag tag, EmberLib.Glow.GlowMinMax value ) : void
InsertValue ( BerTag tag, EmberLib.Glow.GlowValue value ) : void
ValidateAfterDecodeOverride ( string &message ) : bool

Override this in application-defined node types to provide validation. Called when a node has been decoded. Overriden to validate Identifier.

Приватные методы

Метод Описание
GetMinMax ( BerTag tag ) : EmberLib.Glow.GlowMinMax
GetValue ( BerTag tag ) : EmberLib.Glow.GlowValue

Описание методов

CompliesWithSchema() публичный Метод

Tests if the parameter complies with the schema with the passed schema identifier.
public CompliesWithSchema ( string schemaIdentifier ) : bool
schemaIdentifier string The identifier of the schema to test for.
Результат bool

GetEnumeration() публичный Метод

Yield a collection of name/value pairs that represent an enumeration. It takes into account both the enumMap and the enumeration property, with the enumMap property taking precedence over the enumeration property.
public GetEnumeration ( ) : int>>.IEnumerable
Результат int>>.IEnumerable

GetFormula() публичный Метод

Gets the value of the "formula" field of the "contents" SET.
public GetFormula ( ) : GlowFormulaSource
Результат GlowFormulaSource

GlowParameterBase() защищенный Метод

Creates a new instance of GlowParameterBase.
protected GlowParameterBase ( BerTag tag, uint type ) : System
tag BerTag
type uint
Результат System

InsertMinMax() защищенный Метод

protected InsertMinMax ( BerTag tag, EmberLib.Glow.GlowMinMax value ) : void
tag BerTag
value EmberLib.Glow.GlowMinMax
Результат void

InsertValue() защищенный Метод

protected InsertValue ( BerTag tag, EmberLib.Glow.GlowValue value ) : void
tag BerTag
value EmberLib.Glow.GlowValue
Результат void

SetFormula() публичный Метод

Sets the value of the "formula" field of the "contents" SET.
public SetFormula ( GlowFormulaSource formula ) : void
formula GlowFormulaSource The formula source tuple to set.
Результат void

ValidateAfterDecodeOverride() защищенный Метод

Override this in application-defined node types to provide validation. Called when a node has been decoded. Overriden to validate Identifier.
protected ValidateAfterDecodeOverride ( string &message ) : bool
message string When returning false, set this to a string describing the kind of error.
Результат bool