コード例 #1
0
ファイル: UniqueKey.cs プロジェクト: Kevnz/KiwiDB
 public void PrepareUpdate(TKey key, TValue value, IUpdateActions actions)
 {
     actions.FailIfKeyExists();
 }
コード例 #2
0
ファイル: UpdateKey.cs プロジェクト: Kevnz/KiwiDB
 public void PrepareUpdate(TKey key, TValue value, IUpdateActions actions)
 {
     actions.UpdateExistingKey();
 }
コード例 #3
0
 public void PrepareUpdate(TKey key, TValue value, IUpdateActions actions)
 {
     actions.AppendNewKey();
 }
コード例 #4
0
ファイル: Node.cs プロジェクト: Kevnz/KiwiDB
 protected void PrepareUpdate(TKey key, TValue value, IUpdateActions actions)
 {
     Config.UpdateStrategy.PrepareUpdate(key, value, actions);
 }