-
Notifications
You must be signed in to change notification settings - Fork 0
Callable
Home | API by Category | Complete API Index | API Compatibility
| Field | Value |
|---|---|
| Full name | Electron2D.Callable |
| Namespace | Electron2D |
| Kind | struct |
| Category | Core |
Represents the callable value type.
public struct Electron2D.Callable : System.IEquatable<Electron2D.Callable>Profile: Electron2D 0.1.0 2D
Status: Partial / Not verified
Out of profile: yes
Godot reference: Callable
Target-method and C# action callable baseline for synchronous signal emission and deferred calls.
This type is part of the Electron2D 0.1.0 Preview public API.
Instances of this type are not synchronized. Access them from the thread that owns the object unless the member documentation states otherwise.
This API is available since Electron2D 0.1.0 Preview.
| Member | Kind | Summary |
|---|---|---|
Electron2D.Callable(Electron2D.Object, System.String) |
Constructor | Initializes a new instance of the Callable type. |
Call(System.Object[]) |
Method | Executes the call operation. |
CallDeferred(System.Object[]) |
Method | Executes the call deferred operation. |
Equals(Electron2D.Callable) |
Method | Executes the equals operation. |
Equals(System.Object) |
Method | Executes the equals operation. |
From(System.Action) |
Method | Executes the from operation. |
From(System.Action<T>) |
Method | Executes the from operation. |
GetHashCode() |
Method | Gets the hash code value. |
GetMethod() |
Method | Gets the method value. |
GetObject() |
Method | Gets the object value. |
IsNull() |
Method | Checks whether null is true. |
op_Equality(Electron2D.Callable, Electron2D.Callable) |
Method | Applies the == operator. |
op_Inequality(Electron2D.Callable, Electron2D.Callable) |
Method | Applies the != operator. |
Kind: Constructor
public Electron2D.Callable(Electron2D.Object target, System.String method)Initializes a new instance of the Callable type.
The new instance follows the lifetime and validation rules of its declaring type.
-
target: The target value. -
method: The method value.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Callable
Kind: Method
public System.Object Call(System.Object[])(System.Object[] args)Executes the call operation.
This method follows the validation and lifetime rules of its declaring type.
-
args: The args value.
The result of the operation.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Callable
Kind: Method
public System.Void CallDeferred(System.Object[])(System.Object[] args)Executes the call deferred operation.
This method follows the validation and lifetime rules of its declaring type.
-
args: The args value.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Callable
Kind: Method
public System.Boolean Equals(Electron2D.Callable)(Electron2D.Callable other)Executes the equals operation.
This method follows the validation and lifetime rules of its declaring type.
-
other: The other value.
The result of the operation.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Callable
Kind: Method
public System.Boolean Equals(System.Object)(System.Object obj)Executes the equals operation.
This method follows the validation and lifetime rules of its declaring type.
-
obj: The obj value.
The result of the operation.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Callable
Kind: Method
public static Electron2D.Callable From(System.Action)(System.Action action)Executes the from operation.
This method follows the validation and lifetime rules of its declaring type.
-
action: The action value.
The result of the operation.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Callable
Kind: Method
public static Electron2D.Callable From(System.Action<T>)(System.Action<T> action)Executes the from operation.
This method follows the validation and lifetime rules of its declaring type.
-
action: The action value.
-
T: The t type.
The result of the operation.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Callable
Kind: Method
public System.Int32 GetHashCode()()Gets the hash code value.
This method follows the validation and lifetime rules of its declaring type.
The current hash code value.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Callable
Kind: Method
public System.String GetMethod()()Gets the method value.
This method follows the validation and lifetime rules of its declaring type.
The current method value.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Callable
Kind: Method
public Electron2D.Object GetObject()()Gets the object value.
This method follows the validation and lifetime rules of its declaring type.
The current object value.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Callable
Kind: Method
public System.Boolean IsNull()()Checks whether null is true.
This method follows the validation and lifetime rules of its declaring type.
true when the condition is met; otherwise, false.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Callable
Kind: Method
public static System.Boolean op_Equality(Electron2D.Callable, Electron2D.Callable)(Electron2D.Callable left, Electron2D.Callable right)Applies the == operator.
This operator returns a value derived from the supplied operands.
-
left: The left value. -
right: The right value.
The result of the operator.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Callable
Kind: Method
public static System.Boolean op_Inequality(Electron2D.Callable, Electron2D.Callable)(Electron2D.Callable left, Electron2D.Callable right)Applies the != operator.
This operator returns a value derived from the supplied operands.
-
left: The left value. -
right: The right value.
The result of the operator.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Callable
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.