Short Guid implementation with a length of 22 characters (instead 36 of the normal Guid).
More...
|
| | ShortUID (byte[] data) |
| | Constructor for a ShortUID with a given byte-array.
|
| |
| | ShortUID (string code) |
| | Constructor for a ShortUID with a given string.
|
| |
| | ShortUID () |
| | Empty constructor for a new ShortUID.
|
| |
| byte[] | ToByteArray () |
| | Returns the ShortUID as byte-array.
|
| |
| Guid | ToGuid () |
| | Converts the ShortUID to a Guid.
|
| |
| override string | ToString () |
| |
| override bool | Equals (object? obj) |
| |
| override int | GetHashCode () |
| |
Short Guid implementation with a length of 22 characters (instead 36 of the normal Guid).
◆ ShortUID() [1/3]
| BogaNet.Util.ShortUID.ShortUID |
( |
byte[] | data | ) |
|
Constructor for a ShortUID with a given byte-array.
- Parameters
-
| data | ShortUID as byte-array |
◆ ShortUID() [2/3]
| BogaNet.Util.ShortUID.ShortUID |
( |
string | code | ) |
|
Constructor for a ShortUID with a given string.
- Parameters
-
◆ ShortUID() [3/3]
| BogaNet.Util.ShortUID.ShortUID |
( |
| ) |
|
Empty constructor for a new ShortUID.
◆ Equals()
| override bool BogaNet.Util.ShortUID.Equals |
( |
object? | obj | ) |
|
◆ GetHashCode()
| override int BogaNet.Util.ShortUID.GetHashCode |
( |
| ) |
|
◆ NewShortUID()
| static ShortUID BogaNet.Util.ShortUID.NewShortUID |
( |
| ) |
|
|
static |
Generates a new ShortUID.
- Returns
- New ShortUID
◆ ToByteArray()
| byte[] BogaNet.Util.ShortUID.ToByteArray |
( |
| ) |
|
Returns the ShortUID as byte-array.
- Returns
- ShortUID as byte-array
◆ ToGuid()
| Guid BogaNet.Util.ShortUID.ToGuid |
( |
| ) |
|
Converts the ShortUID to a Guid.
- Returns
- Guid-instance
◆ ToString()
| override string BogaNet.Util.ShortUID.ToString |
( |
| ) |
|
◆ Code
| string BogaNet.Util.ShortUID.Code |
|
getset |
The documentation for this class was generated from the following file:
- /Users/stefanlaubenberger/Projects/CSharp/BogaNet/BogaNet.Common/Util/ShortUID.cs