Class ICommandRegistryExtensions
Inheritance
System.Object
ICommandRegistryExtensions
Namespace: AzureFromTheTrenches.Commanding.Http
Assembly: AzureFromTheTrenches.Commanding.Http.dll
Syntax
public static class ICommandRegistryExtensions : object
Methods
| Improve this Doc View SourceRegisterHttpCommand<TCommand, TResult>(ICommandRegistry, Uri, HttpMethod, Func<String>, IHttpCommandSerializer, IUriCommandQueryBuilder, HttpDispatchErrorHandler)
Declaration
public static void RegisterHttpCommand<TCommand, TResult>(this ICommandRegistry registry, Uri uri, HttpMethod httpMethod = null, Func<string> authenticationHeaderContent = null, IHttpCommandSerializer httpCommandSerializer = null, IUriCommandQueryBuilder uriCommandQueryBuilder = null, HttpDispatchErrorHandler httpDispatchErrorHandler = null)
where TCommand : ICommand<TResult>
Parameters
Type | Name | Description |
---|---|---|
ICommandRegistry | registry | |
Uri | uri | |
HttpMethod | httpMethod | |
Func<System.String> | authenticationHeaderContent | |
IHttpCommandSerializer | httpCommandSerializer | |
IUriCommandQueryBuilder | uriCommandQueryBuilder | |
HttpDispatchErrorHandler | httpDispatchErrorHandler |
Type Parameters
Name | Description |
---|---|
TCommand | |
TResult |