Class CommandPublisher
Inheritance
System.Object
CommandPublisher
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()
Assembly: Silverback.Core.Model.dll
Syntax
public class CommandPublisher : ICommandPublisher
Constructors
|
Improve this doc
View source
CommandPublisher(IPublisher)
Declaration
public CommandPublisher(IPublisher publisher)
Parameters
Methods
|
Improve this doc
View source
Execute(ICommand)
Declaration
public void Execute(ICommand commandMessage)
Parameters
Type |
Name |
Description |
ICommand |
commandMessage |
|
|
Improve this doc
View source
Execute(ICommand, Boolean)
Declaration
public void Execute(ICommand commandMessage, bool throwIfUnhandled)
Parameters
Type |
Name |
Description |
ICommand |
commandMessage |
|
System.Boolean |
throwIfUnhandled |
|
|
Improve this doc
View source
Execute<TResult>(ICommand<TResult>)
Declaration
public TResult Execute<TResult>(ICommand<TResult> commandMessage)
Parameters
Type |
Name |
Description |
ICommand<TResult> |
commandMessage |
|
Returns
Type Parameters
|
Improve this doc
View source
Execute<TResult>(ICommand<TResult>, Boolean)
Declaration
public TResult Execute<TResult>(ICommand<TResult> commandMessage, bool throwIfUnhandled)
Parameters
Type |
Name |
Description |
ICommand<TResult> |
commandMessage |
|
System.Boolean |
throwIfUnhandled |
|
Returns
Type Parameters
|
Improve this doc
View source
ExecuteAsync(ICommand)
Declaration
public Task ExecuteAsync(ICommand commandMessage)
Parameters
Type |
Name |
Description |
ICommand |
commandMessage |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this doc
View source
ExecuteAsync(ICommand, Boolean)
Declaration
public Task ExecuteAsync(ICommand commandMessage, bool throwIfUnhandled)
Parameters
Type |
Name |
Description |
ICommand |
commandMessage |
|
System.Boolean |
throwIfUnhandled |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this doc
View source
ExecuteAsync<TResult>(ICommand<TResult>)
Declaration
public async Task<TResult> ExecuteAsync<TResult>(ICommand<TResult> commandMessage)
Parameters
Type |
Name |
Description |
ICommand<TResult> |
commandMessage |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult> |
|
Type Parameters
|
Improve this doc
View source
ExecuteAsync<TResult>(ICommand<TResult>, Boolean)
Declaration
public async Task<TResult> ExecuteAsync<TResult>(ICommand<TResult> commandMessage, bool throwIfUnhandled)
Parameters
Type |
Name |
Description |
ICommand<TResult> |
commandMessage |
|
System.Boolean |
throwIfUnhandled |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult> |
|
Type Parameters
Implements