C# Class 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.
Inheritance: ArgumentFunction
Afficher le fichier Open project: FlorianRappl/YAMP

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
RaiseNotification ( NotificationType notificationType, String message ) : void

Raises a notification event.

Method Details

Perform() public méthode

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.
Résultat Value

RaiseNotification() protected méthode

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

SystemFunction() public méthode

Creates a new system function with a specific context.
public SystemFunction ( ParseContext context ) : System
context ParseContext The given context.
Résultat System