C# 클래스 IrcShark.Extensions.Scripting.Msl.MslScript

The parent class of all compiled msl scripts.
상속: Script
파일 보기 프로젝트 열기: hapm/IrcShark

공개 메소드들

메소드 설명
CallAlias ( string line ) : void
CallAlias ( string name, string parameters ) : void
CallIdentifier ( string name, string parameters, string property ) : string

Calls the given identifier.

Check ( string s ) : bool

Checks if the given string represents true or false.

Check ( string s, string op ) : bool

Checks if the given string matches the given operation.

Check ( string s1, string op, string s2 ) : bool

Compares two strings with the given operator.

MslScript ( IScriptEngine engine ) : System

비공개 메소드들

메소드 설명
CreateRealParameters ( MethodInfo method, string parameters ) : object[]

Converts the string parameters to a list of objects matching the parameter types of a given method.

This method uses the IConvertible interface to try to convert the strings in the proper types.

GetGlobalVariableValue ( string varname ) : string

Gets the value of a global variable.

SetGlobalVariableValue ( string varname, string varvalue ) : void

Sets the value of a global variable.

메소드 상세

CallAlias() 공개 메소드

public CallAlias ( string line ) : void
line string
리턴 void

CallAlias() 공개 메소드

public CallAlias ( string name, string parameters ) : void
name string
parameters string
리턴 void

CallIdentifier() 공개 메소드

Calls the given identifier.
public CallIdentifier ( string name, string parameters, string property ) : string
name string The name of the identifier.
parameters string The parameters for the identifier.
property string The property, assigned to the identifier.
리턴 string

Check() 공개 메소드

Checks if the given string represents true or false.
public Check ( string s ) : bool
s string The string to check.
리턴 bool

Check() 공개 메소드

Checks if the given string matches the given operation.
public Check ( string s, string op ) : bool
s string The string to check.
op string The operator to evaluate the string with.
리턴 bool

Check() 공개 메소드

Compares two strings with the given operator.
public Check ( string s1, string op, string s2 ) : bool
s1 string The first string to check.
op string The operator to compare the strings with.
s2 string
리턴 bool

MslScript() 공개 메소드

public MslScript ( IScriptEngine engine ) : System
engine IScriptEngine
리턴 System