C# Class BlackLinks.BlackApplication

Show file Open project: heapsource/BlackLinks Class Usage Examples

Public Methods

Method Description
ActivateActionCore ( Type controllerType, string actionName ) : BlackAction
BlackApplication ( ) : System
MimeForEntityName ( string entityName ) : string

Translate an Extension into a HTTP Mime Type.

Protected Methods

Method Description
OnStart ( ) : void

Private Methods

Method Description
EnsureControllerType ( Type controllerType ) : void
ProcessRequest ( BlackRequest request ) : void
ensureInitialized ( ) : void
executeErrorAction ( Routing route, BlackContext context ) : void

Executes the error route or it's parent. This function does not catch any exception.

initialize ( ) : void

Method Details

ActivateActionCore() public method

public ActivateActionCore ( Type controllerType, string actionName ) : BlackAction
controllerType System.Type
actionName string
return BlackAction

BlackApplication() public method

public BlackApplication ( ) : System
return System

MimeForEntityName() public method

Translate an Extension into a HTTP Mime Type.
public MimeForEntityName ( string entityName ) : string
entityName string
return string

OnStart() protected method

protected OnStart ( ) : void
return void