C# Класс RunningObjects.Core.Mapping.ModelMappingManager

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CurrentElement ( System.Web.Mvc.ControllerContext controllerContext ) : IMappingElement
CurrentType ( System.Web.Mvc.ControllerContext controllerContext ) : TypeMapping
Exists ( Type type ) : bool
LoadFromConfiguration ( ) : void
MappingFor ( Type type ) : TypeMapping

Приватные методы

Метод Описание
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

Описание методов

CurrentElement() публичный статический Метод

public static CurrentElement ( System.Web.Mvc.ControllerContext controllerContext ) : IMappingElement
controllerContext System.Web.Mvc.ControllerContext
Результат IMappingElement

CurrentType() публичный статический Метод

public static CurrentType ( System.Web.Mvc.ControllerContext controllerContext ) : TypeMapping
controllerContext System.Web.Mvc.ControllerContext
Результат TypeMapping

Exists() публичный статический Метод

public static Exists ( Type type ) : bool
type System.Type
Результат bool

LoadFromConfiguration() публичный статический Метод

public static LoadFromConfiguration ( ) : void
Результат void

MappingFor() публичный статический Метод

public static MappingFor ( Type type ) : TypeMapping
type System.Type
Результат TypeMapping