Exemplo n.º 1
0
 public PersistentUserDataManager(ITraceSourceFactory traceSourceFactory, Implementation.IStorageManagerImplementation impl, IShutdown shutdown)
 {
     this.trace = traceSourceFactory.CreateTraceSource("Storage", "storage");
     this.impl  = impl;
     this.impl.SetTrace(trace);
     this.globalSettingsEntry = new Lazy <IStorageEntry>(() => impl.GetEntry("global", 0));
     shutdown.Cleanup        += (sender, e) => impl.Dispose();
 }
Exemplo n.º 2
0
 public ContentCacheManager(Implementation.IStorageManagerImplementation impl)
 {
     this.trace = new LJTraceSource("ContentCache", "cache");
     this.impl  = impl;
     this.impl.SetTrace(trace);
 }
Exemplo n.º 3
0
 public ContentCacheManager(ITraceSourceFactory traceSourceFactory, Implementation.IStorageManagerImplementation impl)
 {
     this.trace = traceSourceFactory.CreateTraceSource("ContentCache", "cache");
     this.impl  = impl;
     this.impl.SetTrace(trace);
 }