Class ScriptFunction
Inheritance
System.Object
ScriptFunction
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AltV.Net.FunctionParser
Assembly: AltV.Net.Shared.dll
Syntax
public class ScriptFunction
Methods
| Improve this Doc View SourceCall()
Declaration
public object Call()
Returns
Type | Description |
---|---|
System.Object |
CallAsync()
Declaration
public async Task CallAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Clone()
Declaration
public ScriptFunction Clone()
Returns
Type | Description |
---|---|
ScriptFunction |
Create(Delegate, Type[], Type[], Boolean)
Declaration
public static ScriptFunction Create(Delegate delegate, Type[] types, Type[] returnTypes = null, bool isAsync = false)
Parameters
Type | Name | Description |
---|---|---|
System.Delegate | delegate | |
System.Type[] | types | |
System.Type[] | returnTypes | |
System.Boolean | isAsync |
Returns
Type | Description |
---|---|
ScriptFunction |
Set(Object)
Declaration
public void Set(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |