public TypeInfoCachedData(RuntimeTypeInfo runtimeTypeInfo) { _runtimeTypeInfo = runtimeTypeInfo; _methodLookupDispenser = new DispenserThatAlwaysReuses <String, RuntimeMethodInfo>(LookupDeclaredMethodByName); _fieldLookupDispenser = new DispenserThatAlwaysReuses <String, RuntimeFieldInfo>(LookupDeclaredFieldByName); _propertyLookupDispenser = new DispenserThatAlwaysReuses <String, RuntimePropertyInfo>(LookupDeclaredPropertyByName); _eventLookupDispenser = new DispenserThatAlwaysReuses <String, RuntimeEventInfo>(LookupDeclaredEventByName); }
public TypeInfoCachedData(RuntimeTypeInfo runtimeTypeInfo) { _runtimeTypeInfo = runtimeTypeInfo; _methodLookupDispenser = new DispenserThatAlwaysReuses<String, RuntimeMethodInfo>(LookupDeclaredMethodByName); _fieldLookupDispenser = new DispenserThatAlwaysReuses<String, RuntimeFieldInfo>(LookupDeclaredFieldByName); _propertyLookupDispenser = new DispenserThatAlwaysReuses<String, RuntimePropertyInfo>(LookupDeclaredPropertyByName); _eventLookupDispenser = new DispenserThatAlwaysReuses<String, RuntimeEventInfo>(LookupDeclaredEventByName); }