C# Class MyTested.AspNetCore.Mvc.ServiceCollectionOptionsExtensions

Contains options extension methods for IServiceCollection.
Afficher le fichier Open project: ivaylokenov/MyTested.AspNetCore.Mvc

Méthodes publiques

Méthode Description
ReplaceOptions ( this serviceCollection ) : IServiceCollection

Replaces the default IOptions{TOptions} with a scoped implementation.

Method Details

ReplaceOptions() public static méthode

Replaces the default IOptions{TOptions} with a scoped implementation.
public static ReplaceOptions ( this serviceCollection ) : IServiceCollection
serviceCollection this Instance of type.
Résultat IServiceCollection