Class Publisher
Inheritance
System.Object
Publisher
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.dll
Syntax
public class Publisher : IPublisher
Constructors
|
Improve this doc
View source
Publisher(IBehaviorsProvider, IServiceProvider, ISilverbackLogger<Publisher>)
Initializes a new instance of the Publisher class.
Declaration
public Publisher(IBehaviorsProvider behaviorsProvider, IServiceProvider serviceProvider, ISilverbackLogger<Publisher> logger)
Parameters
Methods
|
Improve this doc
View source
Publish(Object)
Declaration
public void Publish(object message)
Parameters
Type |
Name |
Description |
System.Object |
message |
|
|
Improve this doc
View source
Publish(Object, Boolean)
Declaration
public void Publish(object message, bool throwIfUnhandled)
Parameters
Type |
Name |
Description |
System.Object |
message |
|
System.Boolean |
throwIfUnhandled |
|
|
Improve this doc
View source
Publish<TResult>(Object)
Declaration
public IReadOnlyCollection<TResult> Publish<TResult>(object message)
Parameters
Type |
Name |
Description |
System.Object |
message |
|
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<TResult> |
|
Type Parameters
|
Improve this doc
View source
Publish<TResult>(Object, Boolean)
Declaration
public IReadOnlyCollection<TResult> Publish<TResult>(object message, bool throwIfUnhandled)
Parameters
Type |
Name |
Description |
System.Object |
message |
|
System.Boolean |
throwIfUnhandled |
|
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<TResult> |
|
Type Parameters
|
Improve this doc
View source
PublishAsync(Object)
Declaration
public Task PublishAsync(object message)
Parameters
Type |
Name |
Description |
System.Object |
message |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this doc
View source
PublishAsync(Object, Boolean)
Declaration
public Task PublishAsync(object message, bool throwIfUnhandled)
Parameters
Type |
Name |
Description |
System.Object |
message |
|
System.Boolean |
throwIfUnhandled |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this doc
View source
PublishAsync<TResult>(Object)
Declaration
public Task<IReadOnlyCollection<TResult>> PublishAsync<TResult>(object message)
Parameters
Type |
Name |
Description |
System.Object |
message |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyCollection<TResult>> |
|
Type Parameters
|
Improve this doc
View source
PublishAsync<TResult>(Object, Boolean)
Declaration
public async Task<IReadOnlyCollection<TResult>> PublishAsync<TResult>(object message, bool throwIfUnhandled)
Parameters
Type |
Name |
Description |
System.Object |
message |
|
System.Boolean |
throwIfUnhandled |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyCollection<TResult>> |
|
Type Parameters
Implements