PageTypeBuilder.Synchronization.PageDefinitionSynchronization.PageDefinitionTypeMapper.GetPropertyType C# (CSharp) Method

GetPropertyType() protected method

protected GetPropertyType ( Type propertyType, PageTypePropertyAttribute pageTypePropertyAttribute ) : Type
propertyType System.Type
pageTypePropertyAttribute PageTypePropertyAttribute
return System.Type
        protected internal virtual Type GetPropertyType(Type propertyType, PageTypePropertyAttribute pageTypePropertyAttribute)
        {
            Type pagePropertyType = pageTypePropertyAttribute.Type;
            if (pagePropertyType == null)
            {
                pagePropertyType = GetDefaultPropertyType(propertyType);
            }
            return pagePropertyType;
        }