Anarchy/AnarchyConfig.cs
///<summary>
///Add and configure a new AnarchyRoute
///</summary>
Add and configure a new AnarchyRoute
Add and configure a new AnarchyRoute
public void Route(string route, string response, int statusCode) {
            var anarchyRoute = new AnarchyRoute {
                Route = route,
                Response = response,
                StatusCode = statusCode
            };
            Routes.Add(anarchyRoute);
        }
public void Route ( string route , string response , int statusCode ) { var anarchyRoute = new AnarchyRoute { Route = route , Response = response , StatusCode = statusCode } ; Routes . Add ( anarchyRoute ) ; }
Add and configure a new AnarchyRoute
Add and configure a new AnarchyRoute
route
string
response
string
statusCode
int