protected ConfigurationElementCollectionForInterface(Type elementType) { _elementType = elementType; _listType = typeof(List <>).MakeGenericType(new[] { _elementType }); _list = new CacheCallback <int, IList>(ignored => CreateElements()); }
public ClientValueResolver(IBaseValueProvider source, Type sourceInterfaceType) { _cachedValues = new CacheCallback <PropertyInfo, object>(ClientValueCreate); _source = source; _sourceInterfaceType = sourceInterfaceType; }