Table of Contents

Class StringExtension

Namespace
TimeCockpit.Data
Assembly
TimeCockpit.Data.dll

Defines extension methods for the String class

public static class StringExtension
Inheritance
Object
StringExtension
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()

Methods

GuidFromBase64(String)

Converts a 22 character long base64 encoded string into a guid

public static Guid GuidFromBase64(this string value)

Parameters

value String

String that should be converted

Returns

Guid

Created guid.

Remarks

Note that "/" has been replaced by "-", "+" has been replaced by "_" and "=" characters have been removed.