Exemple #1
0
 /// <summary>
 /// Contructs a new instance based on a field
 /// </summary>
 /// <param name="typeCache"></param>
 /// <param name="fieldNameConvention"></param>
 /// <param name="info"></param>
 public PropertyData(TypeDataCache typeCache, FudgeFieldNameConvention fieldNameConvention, FieldInfo info)
     : this(typeCache, fieldNameConvention, info, info.FieldType)
 {
     this.getter = ReflectionUtil.CreateGetterDelegate(info);
     this.setter = ReflectionUtil.CreateSetterDelegate(info);
 }