Beispiel #1
0
        public BasicPropertyGetter GetBasicPropertyGetter()
        {
            if (basic_property_getter == null)
            {
                basic_property_getter = GetNativePropertyInfo().CreateDynamicPropertyGetterDelegate <BasicPropertyGetter>();
            }

            return(basic_property_getter);
        }
Beispiel #2
0
 static public PropertyGetter <T> GetTypeSafe <T>(this BasicPropertyGetter item)
 {
     return(delegate(object obj, object[] index) {
         return (T)item(obj, index);
     });
 }