C# Class Zetbox.API.Server.ServerObjectHandlerFactory

Default-Factory for loading ServerObjectHandlers from types containing helper methods to help with creating the generic handlers.
Inheritance: IServerObjectHandlerFactory
显示文件 Open project: daszat/zetbox

Public Methods

Method Description
GetServerCollectionHandler ( IReadOnlyZetboxContext ctx, InterfaceType aType, InterfaceType bType, RelationEndRole endRole ) : IServerCollectionHandler
GetServerDocumentHandler ( ) : IServerDocumentHandler
GetServerObjectHandler ( InterfaceType type ) : IServerObjectHandler
GetServerObjectSetHandler ( ) : IServerObjectSetHandler

Protected Methods

Method Description
GetServerCollectionHandlerHelper ( Type collectionHandlerType, ImplementationType aType, ImplementationType bType, RelationEndRole endRole ) : IServerCollectionHandler
GetServerObjectHandlerHelper ( Type objectHandlerType, InterfaceType intfType ) : IServerObjectHandler
ServerObjectHandlerFactory ( LuceneSearchDeps searchDependencies ) : System

Method Details

GetServerCollectionHandler() public abstract method

public abstract GetServerCollectionHandler ( IReadOnlyZetboxContext ctx, InterfaceType aType, InterfaceType bType, RelationEndRole endRole ) : IServerCollectionHandler
ctx IReadOnlyZetboxContext
aType InterfaceType
bType InterfaceType
endRole RelationEndRole
return IServerCollectionHandler

GetServerCollectionHandlerHelper() protected method

protected GetServerCollectionHandlerHelper ( Type collectionHandlerType, ImplementationType aType, ImplementationType bType, RelationEndRole endRole ) : IServerCollectionHandler
collectionHandlerType System.Type
aType ImplementationType
bType ImplementationType
endRole RelationEndRole
return IServerCollectionHandler

GetServerDocumentHandler() public abstract method

public abstract GetServerDocumentHandler ( ) : IServerDocumentHandler
return IServerDocumentHandler

GetServerObjectHandler() public method

public GetServerObjectHandler ( InterfaceType type ) : IServerObjectHandler
type InterfaceType
return IServerObjectHandler

GetServerObjectHandlerHelper() protected method

protected GetServerObjectHandlerHelper ( Type objectHandlerType, InterfaceType intfType ) : IServerObjectHandler
objectHandlerType System.Type
intfType InterfaceType
return IServerObjectHandler

GetServerObjectSetHandler() public abstract method

public abstract GetServerObjectSetHandler ( ) : IServerObjectSetHandler
return IServerObjectSetHandler

ServerObjectHandlerFactory() protected method

protected ServerObjectHandlerFactory ( LuceneSearchDeps searchDependencies ) : System
searchDependencies LuceneSearchDeps
return System