-
Notifications
You must be signed in to change notification settings - Fork 0
Object
Namespace: Electron2D
Represents the object type.
public class Electron2D.ObjectThis 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.Object() |
Constructor | Initializes a new instance of the Object type. |
AddUserSignal(System.String) |
Method | Adds the user signal value. |
CallDeferred(System.String, System.Object[]) |
Method | Executes the call deferred operation. |
Connect(System.String, Electron2D.Callable, Electron2D.ConnectFlags) |
Method | Executes the connect operation. |
Disconnect(System.String, Electron2D.Callable) |
Method | Executes the disconnect operation. |
EmitSignal(System.String, System.Object[]) |
Method | Executes the emit signal operation. |
Free() |
Method | Executes the free operation. |
GetInstanceId() |
Method | Gets the instance id value. |
HasSignal(System.String) |
Method | Checks whether signal is available. |
IsConnected(System.String, Electron2D.Callable) |
Method | Checks whether connected is true. |
IsInstanceValid(Electron2D.Object) |
Method | Checks whether instance valid is true. |
IsQueuedForDeletion() |
Method | Checks whether queued for deletion is true. |
ToString() |
Method | Executes the to string operation. |
Tr(System.String, System.String) |
Method | Translates a message through the process-wide translation server. |
Kind: Constructor
public Electron2D.Object()Initializes a new instance of the Object type.
The new instance follows the lifetime and validation rules of its declaring type.
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.Object
Kind: Method
public System.Void AddUserSignal(System.String)(System.String signal)Adds the user signal value.
This method follows the validation and lifetime rules of its declaring type.
-
signal: The signal 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.Object
Kind: Method
public System.Object CallDeferred(System.String, System.Object[])(System.String method, System.Object[] args)Executes the call deferred operation.
This method follows the validation and lifetime rules of its declaring type.
-
method: The method value. -
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.Object
Kind: Method
public Electron2D.Error Connect(System.String, Electron2D.Callable, Electron2D.ConnectFlags)(System.String signal, Electron2D.Callable callable, Electron2D.ConnectFlags flags)Executes the connect operation.
This method follows the validation and lifetime rules of its declaring type.
-
signal: The signal value. -
callable: The callable value. -
flags: The flags 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.Object
Kind: Method
public System.Void Disconnect(System.String, Electron2D.Callable)(System.String signal, Electron2D.Callable callable)Executes the disconnect operation.
This method follows the validation and lifetime rules of its declaring type.
-
signal: The signal value. -
callable: The callable 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.Object
Kind: Method
public Electron2D.Error EmitSignal(System.String, System.Object[])(System.String signal, System.Object[] args)Executes the emit signal operation.
This method follows the validation and lifetime rules of its declaring type.
-
signal: The signal value. -
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.Object
Kind: Method
public System.Void Free()()Executes the free operation.
This method follows the validation and lifetime rules of its declaring type.
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.Object
Kind: Method
public System.UInt64 GetInstanceId()()Gets the instance id value.
This method follows the validation and lifetime rules of its declaring type.
The current instance id 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.Object
Kind: Method
public System.Boolean HasSignal(System.String)(System.String signal)Checks whether signal is available.
This method follows the validation and lifetime rules of its declaring type.
-
signal: The signal value.
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.Object
Kind: Method
public System.Boolean IsConnected(System.String, Electron2D.Callable)(System.String signal, Electron2D.Callable callable)Checks whether connected is true.
This method follows the validation and lifetime rules of its declaring type.
-
signal: The signal value. -
callable: The callable value.
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.Object
Kind: Method
public static System.Boolean IsInstanceValid(Electron2D.Object)(Electron2D.Object instance)Checks whether instance valid is true.
This method follows the validation and lifetime rules of its declaring type.
-
instance: The instance value.
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.Object
Kind: Method
public System.Boolean IsQueuedForDeletion()()Checks whether queued for deletion 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.Object
Kind: Method
public System.String ToString()()Executes the to string operation.
This method follows the validation and lifetime rules of its declaring 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.Object
Kind: Method
public System.String Tr(System.String, System.String)(System.String message, System.String context)Translates a message through the process-wide translation server.
This method follows the validation and lifetime rules of its declaring type.
-
message: The source message key to translate. -
context: The optional message context.
The translated message, or message when no
registered translation can resolve it.
-
System.ArgumentNullException: Thrown whenmessageorcontextisnull.
This method is safe to call from any thread as long as registered translation resources are not mutated concurrently.
This method is available since Electron2D 0.1.0 Preview.
Electron2D.TranslationElectron2D.TranslationServer
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.