C# Class Glass.Mapper.Configuration.AbstractTypeConfiguration

Afficher le fichier Open project: mikeedwards83/Glass.Mapper Class Usage Examples

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
AutoMapProperty ( PropertyInfo property ) : AbstractPropertyConfiguration

Called to map each property automatically

Method Details

AbstractTypeConfiguration() public méthode

Initializes a new instance of the AbstractTypeConfiguration class.
public AbstractTypeConfiguration ( ) : System
Résultat System

AddProperty() public méthode

Adds the property.
public AddProperty ( AbstractPropertyConfiguration property ) : void
property AbstractPropertyConfiguration The property.
Résultat void

AutoMapProperties() public méthode

Autoes the map properties.
public AutoMapProperties ( Type type ) : IEnumerable
type System.Type The type.
Résultat IEnumerable

AutoMapProperty() protected méthode

Called to map each property automatically
protected AutoMapProperty ( PropertyInfo property ) : AbstractPropertyConfiguration
property System.Reflection.PropertyInfo
Résultat AbstractPropertyConfiguration

MapPropertiesToObject() public méthode

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.
Résultat void

PerformAutoMap() public méthode

Called when the AutoMap property is true. Automatically maps un-specified properties.
public PerformAutoMap ( ) : void
Résultat void