Class ICommandRegistryExtensions
Inheritance
System.Object
ICommandRegistryExtensions
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.Http
Assembly: AzureFromTheTrenches.Commanding.Http.dll
Syntax
public static class ICommandRegistryExtensions
Methods
| Improve this Doc View SourceRegisterHttpCommand<TCommand, TResult>(ICommandRegistry, Uri, HttpMethod, Func<String>, IHttpCommandSerializer, IUriCommandQueryBuilder)
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)
where TCommand : ICommand<TResult>
Parameters
| Type | Name | Description |
|---|---|---|
| ICommandRegistry | registry | |
| System.Uri | uri | |
| System.Net.Http.HttpMethod | httpMethod | |
| System.Func<System.String> | authenticationHeaderContent | |
| IHttpCommandSerializer | httpCommandSerializer | |
| IUriCommandQueryBuilder | uriCommandQueryBuilder |
Type Parameters
| Name | Description |
|---|---|
| TCommand | |
| TResult |