예제 #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);
 }