protected Profile() { ProfileName = GetType().FullName; AllowNullDestinationValues = true; ConstructorMappingEnabled = true; IncludeSourceExtensionMethods(TypeExtensions.Assembly(typeof(Enumerable))); ShouldMapProperty = p => TypeExtensions.IsPublic(p); ShouldMapField = f => f.IsPublic; }