public EventPropertyGetterMapped GetGetterMapped(string mappedPropertyName) { EventPropertyDescriptor desc = _propertyDescriptorMap.Get(mappedPropertyName); if (desc == null || !desc.IsMapped) { return null; } var mappedProperty = new MappedProperty(mappedPropertyName); return (EventPropertyGetterMapped) mappedProperty.GetGetter(this, _eventAdapterService); }
public EventPropertyGetterMappedSPI GetGetterMappedSPI(string propertyName) { var desc = Stem.PropertyDescriptorMap.Get(propertyName); if (desc == null || !desc.IsMapped) { return null; } var mappedProperty = new MappedProperty(propertyName); return (EventPropertyGetterMappedSPI) mappedProperty.GetGetter( this, _beanEventTypeFactory.EventBeanTypedEventFactory, _beanEventTypeFactory); }