Пример #1
0
        public Task InitializeAsync()
        {
            this.store = new ConcurrentDictionary <uint256, Block>();
            this.PerformanceCounter = new BlockStoreRepositoryPerformanceCounter(DateTimeProvider.Default);

            return(Task.FromResult <object>(null));
        }
Пример #2
0
 public BlockStoreRepositoryPerformanceCounterTest()
 {
     this.performanceCounter = new BlockStoreRepositoryPerformanceCounter(DateTimeProvider.Default);
 }
Пример #3
0
 public BlockStoreRepositoryPerformanceCounterTest()
 {
     this.performanceCounter = new BlockStoreRepositoryPerformanceCounter();
 }