Inheritance: Geta.EPi.Extensions.SingletonPage.DefaultContentReferenceCache
Exemple #1
0
 private void SetupFakes()
 {
     _fake = new FakeMaker();
     EPi.Extensions.SingletonPage.Extensions.InjectedContentLoader = new Injected <IContentLoader>(_fake.ContentRepository);
     _fakeCache = new FakeCache();
     EPi.Extensions.SingletonPage.Extensions.InjectedCache = new Injected <IContentReferenceCache>(_fakeCache);
 }
Exemple #2
0
 private void SetupFakes()
 {
     _fake = new FakeMaker();
     Extensions.SingletonPage.Extensions.InjectedContentLoader = new Injected<IContentLoader>(_fake.ContentRepository);
     _fakeCache = new FakeCache();
     Extensions.SingletonPage.Extensions.InjectedCache = new Injected<IContentReferenceCache>(_fakeCache);
 }