C# Class Soloco.RealTimeWeb.Infrastructure.ApplicationBuilderExtensions

Mostra file Open project: tim-cools/RealTimeWeb.NET

Public Methods

Method Description
ConfigureWhen ( this app, bool condition, Action configuration ) : IApplicationBuilder
UseWhen ( this app, bool>.Func condition, Action configuration ) : IApplicationBuilder

Method Details

ConfigureWhen() public static method

public static ConfigureWhen ( this app, bool condition, Action configuration ) : IApplicationBuilder
app this
condition bool
configuration Action
return IApplicationBuilder

UseWhen() public static method

public static UseWhen ( this app, bool>.Func condition, Action configuration ) : IApplicationBuilder
app this
condition bool>.Func
configuration Action
return IApplicationBuilder