Class ProgramExtensions
Namespace: Payment.API.Extensions
Assembly: Payment.API.dll
Class providing extension methods for Program entry point.
public static class ProgramExtensions
Inheritance
object ← ProgramExtensions
Inherited Members
object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.MemberwiseClone\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Methods
ConfigureLayers\(IServiceCollection, IConfiguration\)
Method that injects all DI of all layers of the app external to API, called by API Program.
public static void ConfigureLayers(this IServiceCollection services, IConfiguration configuration)
Parameters
services IServiceCollection
Services that will be affected.
configuration IConfiguration
Configuration that will be affected.
Last modified: 21 May 2024