コード例 #1
0
 public void Init()
 {
     _fakeSimpleProvider            = new FakeSimpleProvider();
     _fakeAsyncProvider             = new FakeAsyncProvider();
     _fakeReferenceObjectProvider   = new FakeReferenceObjectProvider();
     _fakeMultiProvider             = new FakeMultipleParameterProvider();
     _cachedSimpleProvider          = _fakeSimpleProvider.Cached <ISimpleProvider>(_cacheDuration);
     _cachedAsyncProvider           = _fakeAsyncProvider.Cached <IAsyncProvider>(_cacheDuration);
     _cachedReferenceObjectProvider = _fakeReferenceObjectProvider.Cached <IReferenceObjectProvider>(_cacheDuration);
     _cachedMultiProvider           = _fakeMultiProvider.Cached <IMultipleParameterProvider>(_cacheDuration);
 }