C# 클래스 YAMP.SystemFunction

SystemFunction is a special kind of ArgumentFunction, which saves the passed ParseContext in a variable, which can be accessed over the property Context.
상속: ArgumentFunction
파일 보기 프로젝트 열기: FlorianRappl/YAMP

공개 메소드들

메소드 설명
Perform ( ParseContext context, Value argument ) : Value

Performs the function in the given context.

SystemFunction ( ParseContext context ) : System

Creates a new system function with a specific context.

보호된 메소드들

메소드 설명
RaiseNotification ( NotificationType notificationType, String message ) : void

Raises a notification event.

메소드 상세

Perform() 공개 메소드

Performs the function in the given context.
public Perform ( ParseContext context, Value argument ) : Value
context ParseContext The context where the function is executed.
argument Value The argument of the function.
리턴 Value

RaiseNotification() 보호된 메소드

Raises a notification event.
protected RaiseNotification ( NotificationType notificationType, String message ) : void
notificationType NotificationType The type of notification.
message String The message to use.
리턴 void

SystemFunction() 공개 메소드

Creates a new system function with a specific context.
public SystemFunction ( ParseContext context ) : System
context ParseContext The given context.
리턴 System