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

            return(ShortGuid.Encode(guid));
        }
示例#3
0
 public ShortGuid(string value)
 {
     this._value = value;
     this._guid  = ShortGuid.Decode(value);
 }