Beispiel #1
0
 public void NewComboTest()
 {
     for (int i = 0; i < 1000; i++)
     {
         string id = IDGenerator.NewGuidCombo();
         IO.Write("{0} : {1}", id, id.ToBytes().ToInt32());
     }
 }
Beispiel #2
0
 public void NewGuidTest()
 {
     var id1 = IDGenerator.NewGuid("N");
     var id3 = IDGenerator.NewGuidCombo();
     var id4 = IDGenerator.NewSnowflakeID(1);
 }