Ejemplo n.º 1
0
        public Task InitializeAsync()
        {
            this.store = new ConcurrentDictionary <uint256, Block>();
            this.PerformanceCounter = new BlockStoreRepositoryPerformanceCounter(DateTimeProvider.Default);

            return(Task.FromResult <object>(null));
        }
Ejemplo n.º 2
0
 public BlockStoreRepositoryPerformanceCounterTest()
 {
     this.performanceCounter = new BlockStoreRepositoryPerformanceCounter(DateTimeProvider.Default);
 }
Ejemplo n.º 3
0
 public BlockStoreRepositoryPerformanceCounterTest()
 {
     this.performanceCounter = new BlockStoreRepositoryPerformanceCounter();
 }