Exemplo n.º 1
0
 public CachedTimeService(OriginTimeService decorated)
 {
     _decorated = decorated;
 }
Exemplo n.º 2
0
 public DynaCacheBenchmark()
 {
     OriginTimeService = new OriginTimeService();
     CachedTimeService = CacheableActivator <CachedTimeService> .CreateInstance(OriginTimeService);
 }
Exemplo n.º 3
0
 public DateTime OriginTimeServiceBenchmark()
 {
     return(OriginTimeService.GetTime());
 }