Class IMvcBuilderExtensions
Inheritance
System.Object
IMvcBuilderExtensions
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.AspNetCore
Assembly: AzureFromTheTrenches.Commanding.AspNetCore.dll
Syntax
public static class IMvcBuilderExtensions
Methods
| Improve this Doc View SourceAddAspNetCoreCommanding(IMvcBuilder, Action<IRestCommandBuilder>)
Adds configuration based REST commanding to ASP.Net Core
Declaration
public static IMvcBuilder AddAspNetCoreCommanding(this IMvcBuilder mvcBuilder, Action<IRestCommandBuilder> configurationBuilder)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.Extensions.DependencyInjection.IMvcBuilder | mvcBuilder | The MVC Builder extended |
| System.Action<IRestCommandBuilder> | configurationBuilder | An action accepting a configuration builder |
Returns
| Type | Description |
|---|---|
| Microsoft.Extensions.DependencyInjection.IMvcBuilder | The MVC builder |