C# Class Pomona.Routing.RouteAction

Inheritance: IPomonaRequestProcessor
ファイルを表示 Open project: Pomona/Pomona Class Usage Examples

Public Methods

Method Description
CanProcess ( PomonaContext context ) : bool
Create ( PomonaResponse>.Func func, bool>.Func condition = null ) : RouteAction
Process ( PomonaContext context ) : PomonaResponse

Method Details

CanProcess() public abstract method

public abstract CanProcess ( PomonaContext context ) : bool
context PomonaContext
return bool

Create() public static method

public static Create ( PomonaResponse>.Func func, bool>.Func condition = null ) : RouteAction
func PomonaResponse>.Func
condition bool>.Func
return RouteAction

Process() public abstract method

public abstract Process ( PomonaContext context ) : PomonaResponse
context PomonaContext
return PomonaResponse