C# Class ALE.Http.Routing

Show file Open project: blesh/ALE

Public Properties

Property Type Description
Routes List

Public Methods

Method Description
Add ( string path, Type controllerType, string methodName ) : void
Handler ( IContext context, System.Action next ) : void

Method Details

Add() public static method

public static Add ( string path, Type controllerType, string methodName ) : void
path string
controllerType System.Type
methodName string
return void

Handler() public static method

public static Handler ( IContext context, System.Action next ) : void
context IContext
next System.Action
return void

Property Details

Routes public static property

Holds all routes to be checked.
public static List Routes
return List