C# Class Rabbit.SiteEngine

Mostrar archivo Open project: yysun/Rabbit Class Usage Examples

Public Methods

Method Description
AddHook ( string name, object>.Func action ) : void
ClearHook ( string name ) : void
RunHook ( string name, object data = null ) : dynamic
Start ( ) : void

Private Methods

Method Description
GetType ( IEnumerable files, string module ) : Type
InitModules ( ) : void

Method Details

AddHook() public static method

public static AddHook ( string name, object>.Func action ) : void
name string
action object>.Func
return void

ClearHook() public static method

public static ClearHook ( string name ) : void
name string
return void

RunHook() public static method

public static RunHook ( string name, object data = null ) : dynamic
name string
data object
return dynamic

Start() public static method

public static Start ( ) : void
return void