예제 #1
0
 private static int ParseIntKeyWithPrefix(RiakIndexKeyTerm indexKeyTerm)
 {
     return int.Parse(indexKeyTerm.Key.Split('_')[1]);
 }
 private static void PrintKeyTerm(RiakIndexKeyTerm kt, bool printTerm = false)
 {
     if (printTerm)
     {
         Console.WriteLine("Key: {0} Term: {1}", kt.Key, kt.Term);
     }
     else
     {
         Console.WriteLine(kt.Key);
     }
 }