public InMemoryCacheIndex(string name, ICacheProjector <TKey, TValue, TProjection> projector) { this.name = name; this.projector = projector; }
public ICacheIndex <TKey, TValue, TProjection> CreatePersistentCacheIndex <TKey, TValue, TProjection>(string name, ICacheProjector <TKey, TValue, TProjection> projector) { return(new InMemoryCache <TKey, TValue> .InMemoryCacheIndex <TKey, TValue, TProjection>(name, projector)); }
private ICacheIndex <TKey, TValue, TProjection> ConstructPersistentNamedCacheIndex <TKey, TValue, TProjection>(string name, ICacheProjector <TKey, TValue, TProjection> projector) { return(cacheFactory.CreatePersistentCacheIndex(name, projector)); }