C# Class Commander.Core.Command.CommandLoader

Inheritance: ICommandLoader
显示文件 Open project: SneWs/Commander Class Usage Examples

Public Methods

Method Description
CommandLoader ( DirectoryInfo searchPath ) : System
CommandLoader ( DirectoryInfo searchPath, ICommandAssemblyLoader assemblyLoader ) : System
LoadAll ( ) : List

Private Methods

Method Description
HandleModule ( Module module ) : IEnumerable
LoadCommands ( Assembly assembly ) : IEnumerable

Method Details

CommandLoader() public method

public CommandLoader ( DirectoryInfo searchPath ) : System
searchPath System.IO.DirectoryInfo
return System

CommandLoader() public method

public CommandLoader ( DirectoryInfo searchPath, ICommandAssemblyLoader assemblyLoader ) : System
searchPath System.IO.DirectoryInfo
assemblyLoader ICommandAssemblyLoader
return System

LoadAll() public method

public LoadAll ( ) : List
return List