Class StringExtension
Defines extension methods for the String class
Inheritance
System.Object
StringExtension
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TimeCockpit.Data
Assembly: TimeCockpit.Data.dll
Syntax
public static class StringExtension
Methods
GuidFromBase64(String)
Converts a 22 character long base64 encoded string into a guid
Declaration
public static Guid GuidFromBase64(this string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | String that should be converted |
Returns
Type | Description |
---|---|
System.Guid | Created guid. |
Remarks
Note that "/" has been replaced by "-", "+" has been replaced by "_" and "=" characters have been removed.