Class Configure
Namespace: Identity.Infrastructure
Assembly: Identity.Infrastructure.dll
public static class Configure
Inheritance
object ← Configure
Inherited Members
object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.MemberwiseClone\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Methods
ConfigureInfrastructure\(IServiceCollection, IConfiguration\)
Add all relevant dependency injection that belongs to Infrastructure layer. Take Microsoft.Extensions.DependencyInjection.IServiceCollection ans Microsoft.Extensions.Configuration.IConfiguration of the project as arguments to return them to the startup class.
public static IServiceCollection ConfigureInfrastructure(this IServiceCollection services, IConfiguration configuration)
Parameters
services IServiceCollection
configuration IConfiguration
Returns
Last modified: 21 May 2024