C# 클래스 YAMP.Register

Helpers to handle operator registration.
파일 보기 프로젝트 열기: FlorianRappl/YAMP

공개 메소드들

메소드 설명
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