SendCommand
method in Coherence.Toolkit.CommandsHandler
Methods
public bool SendCommand(Type targetType, string methodName, MessageTarget target, bool sendToAllBindings, params object[] args)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | targetType | |
| string | methodName | |
| MessageTarget | target | |
| bool | sendToAllBindings | |
| object[] | args |
Returns
| Type | Description |
|---|---|
| bool |
public bool SendCommand(Type targetType, string methodName, MessageTarget target, bool sendToAllBindings, params (Type, object)[] args)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | targetType | |
| string | methodName | |
| MessageTarget | target | |
| bool | sendToAllBindings | |
| (Type, object)[] | args |
Returns
| Type | Description |
|---|---|
| bool |
public bool SendCommand(Action method, MessageTarget target)
Parameters
| Type | Name | Description |
|---|---|---|
| Action | method | |
| MessageTarget | target |
Returns
| Type | Description |
|---|---|
| bool |
public bool SendCommand<T>(Action<T> method, MessageTarget target, (Type, object)[] args)
Parameters
| Type | Name | Description |
|---|---|---|
| Action<T> | method | |
| MessageTarget | target | |
| (Type, object)[] | args |
Returns
| Type | Description |
|---|---|
| bool |
Type Parameters
| Name | Description |
|---|---|
| T |
public bool SendCommand<T1, T2>(Action<T1, T2> method, MessageTarget target, (Type, object)[] args)
Parameters
| Type | Name | Description |
|---|---|---|
| Action<T1, T2> | method | |
| MessageTarget | target | |
| (Type, object)[] | args |
Returns
| Type | Description |
|---|---|
| bool |
Type Parameters
| Name | Description |
|---|---|
| T1 | |
| T2 |
public bool SendCommand<T1, T2, T3>(Action<T1, T2, T3> method, MessageTarget target, (Type, object)[] args)
Parameters
| Type | Name | Description |
|---|---|---|
| Action<T1, T2, T3> | method | |
| MessageTarget | target | |
| (Type, object)[] | args |
Returns
| Type | Description |
|---|---|
| bool |
Type Parameters
| Name | Description |
|---|---|
| T1 | |
| T2 | |
| T3 |
public bool SendCommand<T1, T2, T3, T4>(Action<T1, T2, T3, T4> method, MessageTarget target, (Type, object)[] args)
Parameters
| Type | Name | Description |
|---|---|---|
| Action<T1, T2, T3, T4> | method | |
| MessageTarget | target | |
| (Type, object)[] | args |
Returns
| Type | Description |
|---|---|
| bool |
Type Parameters
| Name | Description |
|---|---|
| T1 | |
| T2 | |
| T3 | |
| T4 |
public bool SendCommand<T1, T2, T3, T4, T5>(Action<T1, T2, T3, T4, T5> method, MessageTarget target, (Type, object)[] args)
Parameters
| Type | Name | Description |
|---|---|---|
| Action<T1, T2, T3, T4, T5> | method | |
| MessageTarget | target | |
| (Type, object)[] | args |
Returns
| Type | Description |
|---|---|
| bool |
Type Parameters
| Name | Description |
|---|---|
| T1 | |
| T2 | |
| T3 | |
| T4 | |
| T5 |
public bool SendCommand<T1, T2, T3, T4, T5, T6>(Action<T1, T2, T3, T4, T5, T6> method, MessageTarget target, (Type, object)[] args)
Parameters
| Type | Name | Description |
|---|---|---|
| Action<T1, T2, T3, T4, T5, T6> | method | |
| MessageTarget | target | |
| (Type, object)[] | args |
Returns
| Type | Description |
|---|---|
| bool |
Type Parameters
| Name | Description |
|---|---|
| T1 | |
| T2 | |
| T3 | |
| T4 | |
| T5 | |
| T6 |
public bool SendCommand<T1, T2, T3, T4, T5, T6, T7>(Action<T1, T2, T3, T4, T5, T6, T7> method, MessageTarget target, (Type, object)[] args)
Parameters
| Type | Name | Description |
|---|---|---|
| Action<T1, T2, T3, T4, T5, T6, T7> | method | |
| MessageTarget | target | |
| (Type, object)[] | args |
Returns
| Type | Description |
|---|---|
| bool |
Type Parameters
| Name | Description |
|---|---|
| T1 | |
| T2 | |
| T3 | |
| T4 | |
| T5 | |
| T6 | |
| T7 |
public bool SendCommand<T1, T2, T3, T4, T5, T6, T7, T8>(Action<T1, T2, T3, T4, T5, T6, T7, T8> method, MessageTarget target, (Type, object)[] args)
Parameters
| Type | Name | Description |
|---|---|---|
| Action<T1, T2, T3, T4, T5, T6, T7, T8> | method | |
| MessageTarget | target | |
| (Type, object)[] | args |
Returns
| Type | Description |
|---|---|
| bool |
Type Parameters
| Name | Description |
|---|---|
| T1 | |
| T2 | |
| T3 | |
| T4 | |
| T5 | |
| T6 | |
| T7 | |
| T8 |