C# Класс IrcShark.Extensions.Scripting.Msl.MslScript

The parent class of all compiled msl scripts.
Наследование: Script
Показать файл Открыть проект

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

Метод Описание
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