Class MethodServiceConfigurationBuilderExtensions
Inheritance
System.Object
MethodServiceConfigurationBuilderExtensions
Namespace: Microsoft.Extensions.Configuration
Assembly: Copper.Conventions.Method.Service.dll
Syntax
public static class MethodServiceConfigurationBuilderExtensions
Methods
View SourceAddMethodConventionsJsonFiles(IConfigurationBuilder, Type)
Adds the method conventions json files to the configuration builder.
Declaration
public static IConfigurationBuilder AddMethodConventionsJsonFiles(this IConfigurationBuilder configurationBuilder, Type implementationType)
Parameters
Type | Name | Description |
---|---|---|
IConfigurationBuilder | configurationBuilder | The configuration builder. |
System.Type | implementationType | The implementation type. |
Returns
Type | Description |
---|---|
IConfigurationBuilder |
AddMethodConventionsJsonFiles<TImplementation>(IConfigurationBuilder)
Adds the method conventions json files to the configuration builder.
Declaration
public static IConfigurationBuilder AddMethodConventionsJsonFiles<TImplementation>(this IConfigurationBuilder configurationBuilder)
where TImplementation : class
Parameters
Type | Name | Description |
---|---|---|
IConfigurationBuilder | configurationBuilder | The configuration builder. |
Returns
Type | Description |
---|---|
IConfigurationBuilder |
Type Parameters
Name | Description |
---|---|
TImplementation | The implementation type. |