C# Класс DataDictionary.Types.Collection

Наследование: Generated.Collection, ITypedElement
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ApplicableRule ( acceptor priority ) : bool

Indicates that a rule is applicable for this type at the provided priority

CompareForEquality ( IValue first, IValue other ) : bool

Compares two lists for equality

Contains ( IValue first, IValue other ) : bool
CreateCollectionUpdate ( Dictionary dictionary ) : Collection

Creates a copy of the collection in the designated dictionary. The namespace structure is copied over. The new collection is set to update this one.

CreateDefault ( ICollection enclosingCollection ) : Collection

Creates a default element

CreateStatusMessage ( ) : string

Creates the status message

GetExplain ( TextualExplanation explanation, bool explainSubElements ) : void

Builds the explanation of the element

Match ( Type otherType ) : bool

Indicates that this collection matches the other collections

PerformArithmericOperation ( DataDictionary.Interpreter.InterpretationContext context, IValue left, BinaryExpression operation, IValue right ) : IValue
convert ( IValue value ) : IValue

Converts a value in this type

getValue ( string image ) : IValue

Parses the image and provides the corresponding value

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

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

Indicates that a rule is applicable for this type at the provided priority
public ApplicableRule ( acceptor priority ) : bool
priority DataDictionary.Generated.acceptor
Результат bool

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

Compares two lists for equality
public CompareForEquality ( IValue first, IValue other ) : bool
first IValue
other IValue
Результат bool

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

public Contains ( IValue first, IValue other ) : bool
first IValue
other IValue
Результат bool

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

Creates a copy of the collection in the designated dictionary. The namespace structure is copied over. The new collection is set to update this one.
public CreateCollectionUpdate ( Dictionary dictionary ) : Collection
dictionary Dictionary The target dictionary of the copy
Результат Collection

CreateDefault() публичный статический Метод

Creates a default element
public static CreateDefault ( ICollection enclosingCollection ) : Collection
enclosingCollection ICollection
Результат Collection

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

Creates the status message
public CreateStatusMessage ( ) : string
Результат string

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

Builds the explanation of the element
public GetExplain ( TextualExplanation explanation, bool explainSubElements ) : void
explanation TextualExplanation
explainSubElements bool Precises if we need to explain the sub elements (if any)
Результат void

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

Indicates that this collection matches the other collections
public Match ( Type otherType ) : bool
otherType Type
Результат bool

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

public PerformArithmericOperation ( DataDictionary.Interpreter.InterpretationContext context, IValue left, BinaryExpression operation, IValue right ) : IValue
context DataDictionary.Interpreter.InterpretationContext
left IValue
operation DataDictionary.Interpreter.BinaryExpression
right IValue
Результат IValue

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

Converts a value in this type
public convert ( IValue value ) : IValue
value IValue The value to convert
Результат IValue

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

Parses the image and provides the corresponding value
public getValue ( string image ) : IValue
image string
Результат IValue