C# Class OpenRasta.Handlers.HandlerRepository

Inheritance: IHandlerRepository
显示文件 Open project: openrasta/openrasta-core Class Usage Examples

Public Methods

Method Description
AddResourceHandler ( object resourceKey, IType handlerType ) : void
Clear ( ) : void
GetHandlerTypes ( ) : IEnumerable
GetHandlerTypesFor ( object resourceKey ) : IEnumerable

Private Methods

Method Description
GetOrCreate ( object resourceKey ) : HashSet

Method Details

AddResourceHandler() public method

The provided handler is already registered.
public AddResourceHandler ( object resourceKey, IType handlerType ) : void
resourceKey object
handlerType IType
return void

Clear() public method

public Clear ( ) : void
return void

GetHandlerTypes() public method

public GetHandlerTypes ( ) : IEnumerable
return IEnumerable

GetHandlerTypesFor() public method

public GetHandlerTypesFor ( object resourceKey ) : IEnumerable
resourceKey object
return IEnumerable