Pomona.TypeMapper.LoadPropertyType C# (CSharp) Method

LoadPropertyType() public method

public LoadPropertyType ( PropertySpec propertySpec ) : TypeSpec
propertySpec Pomona.Common.TypeSystem.PropertySpec
return TypeSpec
        public override TypeSpec LoadPropertyType(PropertySpec propertySpec)
        {
            var complexProperty = propertySpec as StructuredProperty;
            if (complexProperty != null)
                return FromType(Filter.GetPropertyType(complexProperty.ReflectedType, complexProperty.PropertyInfo));
            return base.LoadPropertyType(propertySpec);
        }