C# Class MyTested.AspNetCore.Mvc.ServiceCollectionTempDataExtensions

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

Public Methods

Method Description
ReplaceTempDataProvider ( this serviceCollection ) : IServiceCollection

Replaces the default ITempDataProvider with a mocked implementation.

Method Details

ReplaceTempDataProvider() public static method

Replaces the default ITempDataProvider with a mocked implementation.
public static ReplaceTempDataProvider ( this serviceCollection ) : IServiceCollection
serviceCollection this Instance of type.
return IServiceCollection