Пример #1
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="property">The property.</param>
 /// <param name="fastProp">is the method to use to retrieve a value from the object.</param>
 /// <param name="eventAdapterService">factory for event beans and event types</param>
 public CGLibPropertyGetter(PropertyInfo property, FastProperty fastProp, EventAdapterService eventAdapterService)
     : base(eventAdapterService, fastProp.PropertyType, TypeHelper.GetGenericPropertyType(property, true))
 {
     _fastGetter = fastProp.GetGetInvoker();
     _propInfo   = property;
 }