示例#1
0
 public static string Encode(string value)
 {
     return(ShortGuid.Encode(new System.Guid(value)));
 }
示例#2
0
 public ShortGuid(string value)
 {
     this._value = value;
     this._guid  = ShortGuid.Decode(value);
 }
示例#3
0
 public ShortGuid(System.Guid guid)
 {
     this._value = ShortGuid.Encode(guid);
     this._guid  = guid;
 }
示例#4
0
 static ShortGuid()
 {
     ShortGuid.Empty = new ShortGuid(System.Guid.Empty);
 }