Class ApiModule
Inheritance
System.Object
ApiModule
Assembly: Catalyst.Core.Modules.Web3.dll
Syntax
public sealed class ApiModule : Autofac.Module
Constructors
|
Improve this Doc
View Source
ApiModule(String, List<String>, Boolean)
Declaration
public ApiModule(string apiBindingAddress, List<string> controllerModules, bool addSwagger = true)
Parameters
Type |
Name |
Description |
System.String |
apiBindingAddress |
|
System.Collections.Generic.List<System.String> |
controllerModules |
|
System.Boolean |
addSwagger |
|
Methods
|
Improve this Doc
View Source
Declaration
public void Configure(IApplicationBuilder app)
Parameters
Type |
Name |
Description |
IApplicationBuilder |
app |
|
|
Improve this Doc
View Source
Declaration
public void ConfigureServices(IServiceCollection services, ContainerBuilder containerBuilder)
Parameters
Type |
Name |
Description |
IServiceCollection |
services |
|
ContainerBuilder |
containerBuilder |
|
|
Improve this Doc
View Source
Load(ContainerBuilder)
Declaration
protected override void Load(ContainerBuilder builder)
Parameters
Type |
Name |
Description |
ContainerBuilder |
builder |
|