The ShortGuid type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ShortGuid(Guid) |
Creates a ShortGuid from a Guid
|
|
ShortGuid(String) |
Creates a ShortGuid from a base64 encoded string
|
Methods
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 ValueType..::..Equals(Object).) |
|
GetHashCode |
Returns the HashCode for underlying Guid.
(Overrides ValueType..::..GetHashCode()()()().) |
|
NewGuid |
Initialises a new instance of the ShortGuid class
|
|
ToString |
Returns the base64 encoded guid as a string
(Overrides ValueType..::..ToString()()()().) |
Operators
Name | Description | |
---|---|---|
Equality |
Determines if both ShortGuids have the same underlying
Guid value.
|
|
Implicit Widening Implicit Implicit Implicit (Guid to ShortGuid) |
Implicitly converts the Guid to a ShortGuid
|
|
Implicit Widening Implicit Implicit Implicit (String to ShortGuid) |
Implicitly converts the string to a ShortGuid
|
|
Implicit Widening Implicit Implicit Implicit (ShortGuid to String) |
Implicitly converts the ShortGuid to it's string equivilent
|
|
Implicit Widening Implicit Implicit Implicit (ShortGuid to Guid) |
Implicitly converts the ShortGuid to it's Guid equivilent
|
|
Inequality |
Determines if both ShortGuids do not have the
same underlying Guid value.
|
Extension Methods
Name | Description | |
---|---|---|
ConvertTo(Type) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)()()()() | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)(TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
GetCurrentStackTrace |
Gets current stack trace information.
(Defined by ObjectExtension.) |
|
GetDebugInformation |
Gets the debug information for currently executing code.
(Defined by ObjectExtension.) |
|
GetExecutingMethodName |
Gets the executing method name.
(Defined by ObjectExtension.) |
|
GetPropertyType |
Gets a property type.
(Defined by ObjectExtension.) |
|
GetPropertyValue |
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.) |
|
PropertyExists |
Check if property exists.
(Defined by ObjectExtension.) |
|
SetPropertyValue |
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.) |
Fields
Name | Description | |
---|---|---|
Empty |
A read-only instance of the ShortGuid class whose value
is guaranteed to be all zeroes.
|
Properties
Name | Description | |
---|---|---|
Guid |
Gets/sets the underlying Guid
|
|
Value |
Gets/sets the underlying base64 encoded string
|