コード例 #1
0
 protected void OnPersistCompleted(Block block)
 {
     lock (_validators)
     {
         _validators.Clear();
     }
     PersistCompleted?.Invoke(this, block);
 }
コード例 #2
0
 /// <summary>
 /// 当区块被写入到硬盘后调用
 /// </summary>
 /// <param name="block">区块</param>
 protected void OnPersistCompleted(Block block)
 {
     TR.Enter();
     PersistCompleted?.Invoke(this, block);
     TR.Exit();
 }
コード例 #3
0
 /// <summary>
 /// 当区块被写入到硬盘后调用
 /// </summary>
 /// <param name="block">区块</param>
 protected void OnPersistCompleted(Block block)
 {
     PersistCompleted?.Invoke(this, block);
 }