/// <summary> /// Configures this instance. /// </summary> /// <exception cref="System.NotImplementedException"></exception> public void Configure() { dataCacheFactory = new DataCacheFactoryAdapter(new DataCacheFactory()); }
/// <summary> /// Initializes a new instance of the <see cref="AppFabricCache"/> class. /// </summary> /// <param name="name">The name.</param> /// <param name="dataCacheFactory">The data cache factory.</param> public AppFabricCache(string name, IDataCacheFactory dataCacheFactory) : base() { cache = dataCacheFactory.GetCache(name); }