C# Class EmberLib.Glow.GlowMatrixBase

Base class for the EmberPlus-Glow.Matrix and EmberPlus-Glow.QualifiedMatrix types.
Inheritance: GlowContentElement
Afficher le fichier Open project: Lawo/ember-plus Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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.

Method Details

CompliesWithSchema() public méthode

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.
Résultat bool

EnsureConnections() public méthode

Ensures that the "connections" field is present, creating a new EmberSequence and assigning it to the "connections" field if necessary.
public EnsureConnections ( ) : EmberSequence
Résultat EmberSequence

EnsureLabels() public méthode

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
Résultat EmberSequence

EnsureSources() public méthode

Ensures that the "sources" field is present, creating a new EmberSequence and assigning it to the "sources" field if necessary.
public EnsureSources ( ) : EmberSequence
Résultat EmberSequence

EnsureTargets() public méthode

Ensures that the "targets" field is present, creating a new EmberSequence and assigning it to the "targets" field if necessary.
public EnsureTargets ( ) : EmberSequence
Résultat EmberSequence

GlowMatrixBase() protected méthode

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
Résultat System

ValidateAfterDecodeOverride() protected méthode

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.
Résultat bool