Table of Contents

Class GuidHelper

Namespace
SunamoShared.Helpers.Resource
Assembly
SunamoShared.dll

Provides helper methods for GUID string formatting and manipulation.

public class GuidHelper
Inheritance
GuidHelper
Inherited Members
Extension Methods

Methods

AddDashes(string)

Adds dashes to a 32-character GUID string in the standard 8-4-4-4-12 format. Returns the input unchanged if it already contains dashes.

public static string AddDashes(string guid)

Parameters

guid string

The GUID string to format.

Returns

string

GuidsOnlySingleLetter()

Generates a newline-separated list of GUIDs where each GUID consists of a single repeated character (0-9, a-f).

public static string GuidsOnlySingleLetter()

Returns

string

RemoveDashes(string)

Removes all dash characters from a GUID string.

public static string RemoveDashes(string guid)

Parameters

guid string

The GUID string to process.

Returns

string