C# Класс Glass.Mapper.Configuration.AbstractTypeConfiguration

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

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

Метод Описание
AbstractTypeConfiguration ( ) : System

Initializes a new instance of the AbstractTypeConfiguration class.

AddProperty ( AbstractPropertyConfiguration property ) : void

Adds the property.

AutoMapProperties ( Type type ) : IEnumerable

Autoes the map properties.

MapPropertiesToObject ( object obj, IAbstractService service, AbstractTypeCreationContext context ) : void

Maps the properties to object.

PerformAutoMap ( ) : void

Called when the AutoMap property is true. Automatically maps un-specified properties.

Защищенные методы

Метод Описание
AutoMapProperty ( PropertyInfo property ) : AbstractPropertyConfiguration

Called to map each property automatically

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

AbstractTypeConfiguration() публичный Метод

Initializes a new instance of the AbstractTypeConfiguration class.
public AbstractTypeConfiguration ( ) : System
Результат System

AddProperty() публичный Метод

Adds the property.
public AddProperty ( AbstractPropertyConfiguration property ) : void
property AbstractPropertyConfiguration The property.
Результат void

AutoMapProperties() публичный Метод

Autoes the map properties.
public AutoMapProperties ( Type type ) : IEnumerable
type System.Type The type.
Результат IEnumerable

AutoMapProperty() защищенный Метод

Called to map each property automatically
protected AutoMapProperty ( PropertyInfo property ) : AbstractPropertyConfiguration
property System.Reflection.PropertyInfo
Результат AbstractPropertyConfiguration

MapPropertiesToObject() публичный Метод

Maps the properties to object.
public MapPropertiesToObject ( object obj, IAbstractService service, AbstractTypeCreationContext context ) : void
obj object The obj.
service IAbstractService The service.
context AbstractTypeCreationContext The context.
Результат void

PerformAutoMap() публичный Метод

Called when the AutoMap property is true. Automatically maps un-specified properties.
public PerformAutoMap ( ) : void
Результат void