C# Class MyTested.AspNetCore.Mvc.ServiceCollectionOptionsExtensions

Contains options extension methods for IServiceCollection.
ファイルを表示 Open project: ivaylokenov/MyTested.AspNetCore.Mvc

Public Methods

Method Description
ReplaceOptions ( this serviceCollection ) : IServiceCollection

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

Method Details

ReplaceOptions() public static method

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