Esempio n. 1
0
 public void Preparation()
 {
     container = MockHelper.InitializeContainer(new[] { typeof(IProjectionsCollector).Assembly, typeof(Element).Assembly }, new Type[0]);           
     var pool = new ResourcePool();           
     container.ComposeExportedValue(pool);
     container.ComposeExportedValue(container);
     Settings.NoCacheGarbageChecking = true;
 }
Esempio n. 2
0
 public void Preparation()
 {
     container = MockHelper.InitializeContainer(new[] { typeof(IProjectionsCollector).Assembly, typeof(Element).Assembly }, new Type[0]);
     var pool = new ResourcePool();
     var writer = new TestWriter();
     container.ComposeExportedValue(container);
     container.ComposeExportedValue(pool);
     container.ComposeExportedValue(writer);
     container.GetExportedValue<ICacheServicing>().Initialize();
 }