示例#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();
 }