The ShortGuid type exposes the following members.

Constructors

  Name Description
Public method ShortGuid(Guid)
Creates a ShortGuid from a Guid
Public method ShortGuid(String)
Creates a ShortGuid from a base64 encoded string

Methods

  Name Description
Public method Static member Decode
Decodes the given base64 string
Public method Static member Encode(Guid)
Encodes the given Guid as a base64 string that is 22 characters long.
Public method Static member Encode(String)
Creates a new instance of a Guid using the string value, then returns the base64 encoded version of the Guid.
Public method Equals
Returns a value indicating whether this instance and a specified Object represent the same type and value.
(Overrides ValueType..::..Equals(Object).)
Public method GetHashCode
Returns the HashCode for underlying Guid.
(Overrides ValueType..::..GetHashCode()()()().)
Public method Static member NewGuid
Initialises a new instance of the ShortGuid class
Public method ToString
Returns the base64 encoded guid as a string
(Overrides ValueType..::..ToString()()()().)

Operators

  Name Description
Public operator Static member Equality
Determines if both ShortGuids have the same underlying Guid value.
Public operator Static member Implicit Widening Implicit Implicit Implicit (Guid to ShortGuid)
Implicitly converts the Guid to a ShortGuid
Public operator Static member Implicit Widening Implicit Implicit Implicit (String to ShortGuid)
Implicitly converts the string to a ShortGuid
Public operator Static member Implicit Widening Implicit Implicit Implicit (ShortGuid to String)
Implicitly converts the ShortGuid to it's string equivilent
Public operator Static member Implicit Widening Implicit Implicit Implicit (ShortGuid to Guid)
Implicitly converts the ShortGuid to it's Guid equivilent
Public operator Static member Inequality
Determines if both ShortGuids do not have the same underlying Guid value.

Extension Methods

  Name Description
Public Extension Method ConvertTo(Type) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)()()()() Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)(TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method GetCurrentStackTrace
Gets current stack trace information.
(Defined by ObjectExtension.)
Public Extension Method GetDebugInformation
Gets the debug information for currently executing code.
(Defined by ObjectExtension.)
Public Extension Method GetExecutingMethodName
Gets the executing method name.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyType
Gets a property type.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyValue
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.)
Public Extension Method PropertyExists
Check if property exists.
(Defined by ObjectExtension.)
Public Extension Method SetPropertyValue
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.)

Fields

  Name Description
Public field Static member Empty
A read-only instance of the ShortGuid class whose value is guaranteed to be all zeroes.

Properties

  Name Description
Public property Guid
Gets/sets the underlying Guid
Public property Value
Gets/sets the underlying base64 encoded string

See Also