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

Наследование: PredefinedType
Показать файл Открыть проект

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

Метод Описание
CompareForEquality ( IValue left, IValue right ) : bool
Greater ( IValue left, IValue right ) : bool
IntegerType ( EfsSystem efsSystem ) : System

Constructor

Less ( IValue left, IValue right ) : bool
Match ( Type otherType ) : bool

Indicates that the other type can be placed in variables of this type

PerformArithmericOperation ( InterpretationContext context, IValue left, BinaryExpression operation, IValue right ) : IValue

Performs the arithmetic operation based on the type of the result

convert ( IValue value ) : IValue

Converts a value into an int value

getValue ( string image ) : IValue

Gets a value based on its image

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

Метод Описание
getValue ( IValue val ) : Decimal

Provides the int value from the IValue provided

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

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

public CompareForEquality ( IValue left, IValue right ) : bool
left IValue
right IValue
Результат bool

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

public Greater ( IValue left, IValue right ) : bool
left IValue
right IValue
Результат bool

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

Constructor
public IntegerType ( EfsSystem efsSystem ) : System
efsSystem EfsSystem
Результат System

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

public Less ( IValue left, IValue right ) : bool
left IValue
right IValue
Результат bool

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

Indicates that the other type can be placed in variables of this type
public Match ( Type otherType ) : bool
otherType Type
Результат bool

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

Performs the arithmetic operation based on the type of the result
public PerformArithmericOperation ( InterpretationContext context, IValue left, BinaryExpression operation, IValue right ) : IValue
context InterpretationContext The context used to perform this operation
left IValue
operation BinaryExpression
right IValue
Результат IValue

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

Converts a value into an int value
public convert ( IValue value ) : IValue
value IValue
Результат IValue

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

Gets a value based on its image
public getValue ( string image ) : IValue
image string
Результат IValue