C# Class RunningObjects.Core.Mapping.ModelMappingManager

ファイルを表示 Open project: edurdias/RunningObjects Class Usage Examples

Public Methods

Method Description
CurrentElement ( System.Web.Mvc.ControllerContext controllerContext ) : IMappingElement
CurrentType ( System.Web.Mvc.ControllerContext controllerContext ) : TypeMapping
Exists ( Type type ) : bool
LoadFromConfiguration ( ) : void
MappingFor ( Type type ) : TypeMapping

Private Methods

Method Description
CreateMethodMapping ( TypeMapping type, MethodBase method, int index ) : MethodMapping
CreateNamespace ( string ns, IEnumerable availableTypes, AssemblyMappingConfiguration assembly, IMappingElement parent = null ) : NamespaceMapping
CreateQueryMapping ( QueryAttribute query, TypeMapping type ) : QueryMapping
CreateTypeMapping ( Type type, NamespaceMapping @namespace, TypeMappingConfiguration configuration ) : TypeMapping
ExtractTypes ( IEnumerable namespaces ) : void
FindByType ( Type type ) : TypeMapping
LoadFromAssembly ( AssemblyMappingConfiguration assembly ) : void
ModelMappingManager ( ) : System
OrderProperties ( Type componentType, IEnumerable properties ) : IEnumerable

Method Details

CurrentElement() public static method

public static CurrentElement ( System.Web.Mvc.ControllerContext controllerContext ) : IMappingElement
controllerContext System.Web.Mvc.ControllerContext
return IMappingElement

CurrentType() public static method

public static CurrentType ( System.Web.Mvc.ControllerContext controllerContext ) : TypeMapping
controllerContext System.Web.Mvc.ControllerContext
return TypeMapping

Exists() public static method

public static Exists ( Type type ) : bool
type System.Type
return bool

LoadFromConfiguration() public static method

public static LoadFromConfiguration ( ) : void
return void

MappingFor() public static method

public static MappingFor ( Type type ) : TypeMapping
type System.Type
return TypeMapping