C# Class FeatureSwitch.AspNet.Mvc.RouteRegistrationExtensions

Show file Open project: valdisiljuconoks/FeatureSwitch Class Usage Examples

Public Methods

Method Description
MapFeatureSwitch ( this target, string routeName = Const.ModuleName ) : RouteCollection
WithRoute ( this target, string routeName ) : FeatureSetContainer

Private Methods

Method Description
CreateAndInsertRoute ( string routeName ) : void

Method Details

MapFeatureSwitch() public static method

public static MapFeatureSwitch ( this target, string routeName = Const.ModuleName ) : RouteCollection
target this
routeName string
return RouteCollection

WithRoute() public static method

public static WithRoute ( this target, string routeName ) : FeatureSetContainer
target this
routeName string
return FeatureSetContainer