Example #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="instance"></param>
 /// <returns></returns>
 public static PropertyHelper[] GetProperties(object instance)
 {
     return(PropertyHelper.GetProperties(instance, new Func <PropertyInfo, PropertyHelper>(PropertyHelper.CreateInstance), PropertyHelper._reflectionCache));
 }
Example #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="property"></param>
 public PropertyHelper(PropertyInfo property)
 {
     this.Name    = property.Name;
     _valueGetter = PropertyHelper.MakeFastPropertyGetter(property);
 }