Glass.Mapper.Configuration.AbstractTypeConfiguration.PerformAutoMap C# (CSharp) Méthode

PerformAutoMap() public méthode

Called when the AutoMap property is true. Automatically maps un-specified properties.
public PerformAutoMap ( ) : void
Résultat void
        public void PerformAutoMap()
        {
            //we now run the auto-mapping after all the static configuration is loaded
            if (AutoMap)
            {
                //TODO: ME - probably need some binding flags.
                var properties = AutoMapProperties(Type);
                foreach (var propConfig in properties)
                {
                    AddProperty(propConfig);
                }
            }
        
        }