ShortGuid Structure |
Namespace: Casewhere.SystemTypes
public struct ShortGuid
The ShortGuid type exposes the following members.
Name | Description | |
---|---|---|
ShortGuid(Guid) |
Creates a ShortGuid from a Guid
| |
ShortGuid(String) |
Creates a ShortGuid from a base64 encoded string
|
Name | Description | |
---|---|---|
Guid |
Gets/sets the underlying Guid
| |
Value |
Gets/sets the underlying base64 encoded string
|
Name | Description | |
---|---|---|
Decode |
Decodes the given base64 string
| |
Encode(Guid) |
Encodes the given Guid as a base64 string that is 22
characters long.
| |
Encode(String) |
Creates a new instance of a Guid using the string value,
then returns the base64 encoded version of the Guid.
| |
Equals |
Returns a value indicating whether this instance and a
specified Object represent the same type and value.
(Overrides ValueTypeEquals(Object).) | |
GetHashCode |
Returns the HashCode for underlying Guid.
(Overrides ValueTypeGetHashCode.) | |
NewGuid |
Initialises a new instance of the ShortGuid class
| |
ToString |
Returns the base64 encoded guid as a string
(Overrides ValueTypeToString.) |
Name | Description | |
---|---|---|
Equality |
Determines if both ShortGuids have the same underlying
Guid value.
| |
(Guid to ShortGuid) |
Implicitly converts the Guid to a ShortGuid
| |
(ShortGuid to Guid) |
Implicitly converts the ShortGuid to it's Guid equivilent
| |
(ShortGuid to String) |
Implicitly converts the ShortGuid to it's string equivilent
| |
(String to ShortGuid) |
Implicitly converts the string to a ShortGuid
| |
Inequality |
Determines if both ShortGuids do not have the
same underlying Guid value.
|
Name | Description | |
---|---|---|
Empty |
A read-only instance of the ShortGuid class whose value
is guaranteed to be all zeroes.
|