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

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

Private Properties

Свойство Тип Описание

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

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

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

EnsureConnections ( ) : EmberSequence

Ensures that the "connections" field is present, creating a new EmberSequence and assigning it to the "connections" field if necessary.

EnsureLabels ( ) : EmberSequence

Ensures that the "contents.labels" field is present, creating a new EmberSequence and assigning it to the "contents.labels" field if necessary.

EnsureSources ( ) : EmberSequence

Ensures that the "sources" field is present, creating a new EmberSequence and assigning it to the "sources" field if necessary.

EnsureTargets ( ) : EmberSequence

Ensures that the "targets" field is present, creating a new EmberSequence and assigning it to the "targets" field if necessary.

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

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

Creates a new instance of GlowMatrix.

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.

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

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

Tests if the matrix 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

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

Ensures that the "connections" field is present, creating a new EmberSequence and assigning it to the "connections" field if necessary.
public EnsureConnections ( ) : EmberSequence
Результат EmberSequence

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

Ensures that the "contents.labels" field is present, creating a new EmberSequence and assigning it to the "contents.labels" field if necessary.
public EnsureLabels ( ) : EmberSequence
Результат EmberSequence

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

Ensures that the "sources" field is present, creating a new EmberSequence and assigning it to the "sources" field if necessary.
public EnsureSources ( ) : EmberSequence
Результат EmberSequence

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

Ensures that the "targets" field is present, creating a new EmberSequence and assigning it to the "targets" field if necessary.
public EnsureTargets ( ) : EmberSequence
Результат EmberSequence

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

Creates a new instance of GlowMatrix.
protected GlowMatrixBase ( BerTag tag, uint type ) : System
tag BerTag Either a specific tag or null when the node /// is to be inserted into a GlowElementCollection. The tag will be /// set to GlowTags.CollectionItem if the passed tag is null.
type uint ber type of the represented glow type
Результат System

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