示例#1
0
        public EventPropertyGetterIndexed GetGetterIndexed(String indexedPropertyName)
        {
            var item = _propertyItems.Get(indexedPropertyName);

            if (item == null || !item.PropertyDescriptor.IsIndexed)
            {
                return(null);
            }
            var indexedProperty = new IndexedProperty(indexedPropertyName);

            return(GetterFactory.GetPropertyProvidedGetterIndexed(
                       NestableTypes, indexedPropertyName, indexedProperty, EventAdapterService));
        }
示例#2
0
        public EventPropertyGetterIndexedSPI GetGetterIndexedSPI(string indexedPropertyName)
        {
            var item = _propertyItems.Get(indexedPropertyName);
            if (item == null || !item.PropertyDescriptor.IsIndexed) {
                return null;
            }

            var indexedProperty = new IndexedProperty(indexedPropertyName);
            return _getterFactory.GetPropertyProvidedGetterIndexed(
                _nestableTypes,
                indexedPropertyName,
                indexedProperty,
                _beanEventTypeFactory.EventBeanTypedEventFactory,
                _beanEventTypeFactory);
        }