protected override void ReflectionProperty(ReflectionAttachedRtField property)
        {
            var propertyType = property.PropertyInfo.PropertyType;
            var changedType  = typeChanger.ChangePropertyType(propertyType, property.Type, property);

            if (changedType != null)
            {
                property.Type = changedType;
            }
        }
        protected override void ReflectionField(ReflectionAttachedRtField field)
        {
            var fieldType   = field.FieldInfo.FieldType;
            var changedType = typeChanger.ChangeFieldType(fieldType, field.Type, field);

            if (changedType != null)
            {
                field.Type = changedType;
            }
        }
 protected abstract void ReflectionProperty(ReflectionAttachedRtField property);
 protected abstract void ReflectionField(ReflectionAttachedRtField field);
Exemplo n.º 5
0
 public RtTypeName ChangePropertyType(Type propertyType, RtTypeName rtTypeName, ReflectionAttachedRtField rtField)
 {
     return(ChangeType(propertyType, rtTypeName));
 }
Exemplo n.º 6
0
 public RtTypeName ChangeFieldType(Type fieldType, RtTypeName rtTypeName, ReflectionAttachedRtField rtField)
 {
     return(ChangeType(fieldType, rtTypeName));
 }