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