Class EventHubClientExtensions
Inheritance
System.Object
EventHubClientExtensions
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()
Namespace: AzureFromTheTrenches.Commanding.AzureEventHub
Assembly: AzureFromTheTrenches.Commanding.AzureEventHub.dll
Syntax
public static class EventHubClientExtensions
Methods
| Improve this Doc View SourceCreateCommandDispatcher(EventHubClient, Func<ICommand, String>)
Declaration
public static ICommandDispatcher CreateCommandDispatcher(this EventHubClient client, Func<ICommand, string> getPartitionKeyFunc = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.Azure.EventHubs.EventHubClient | client | |
| System.Func<ICommand, System.String> | getPartitionKeyFunc |
Returns
| Type | Description |
|---|---|
| ICommandDispatcher |
CreateCommandDispatcherFactory(EventHubClient, Func<ICommand, String>)
Declaration
public static Func<ICommandDispatcher> CreateCommandDispatcherFactory(this EventHubClient client, Func<ICommand, string> getPartitionKeyFunc = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.Azure.EventHubs.EventHubClient | client | |
| System.Func<ICommand, System.String> | getPartitionKeyFunc |
Returns
| Type | Description |
|---|---|
| System.Func<ICommandDispatcher> |