C# Класс YAMP.Register

Helpers to handle operator registration.
Показать файл Открыть проект

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

Метод Описание
BinaryOperator ( String symbol, BinaryOperatorMappingList list ) : void

Provides registration of operator's Mappings list

BinaryOperator ( String symbol, Type a, Type b, Func handler ) : void

Registers a global binary operator.

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

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

Provides registration of operator's Mappings list
public static BinaryOperator ( String symbol, BinaryOperatorMappingList list ) : void
symbol String The symbol of the operator, e.g., +.
list BinaryOperatorMappingList The BinaryMapping list of the operator
Результат void

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

Registers a global binary operator.
public static BinaryOperator ( String symbol, Type a, Type b, Func handler ) : void
symbol String The symbol of the operator, e.g., +.
a System.Type The type on the left side of the expression.
b System.Type The type on the right side of the expression.
handler Func The handler to invoke.
Результат void