C# Класс formulate.app.Helpers.GuidHelper

Helps with GUID operations.
Показать файл Открыть проект

Открытые методы

Метод Описание
GetGuid ( string value ) : System.Guid

Converts a string GUID to a GUID instance.

This only parses GUIDs in the expected format.

GetString ( System.Guid guid ) : string

Converts a GUID to a string.

This ensures all GUIDs are in the expected format.

GetStrings ( IEnumerable guids ) : string[]

Converts a GUID collection to an array of strings.

This ensures all GUIDs are in the expected format.

Описание методов

GetGuid() публичный статический Метод

Converts a string GUID to a GUID instance.
This only parses GUIDs in the expected format.
public static GetGuid ( string value ) : System.Guid
value string The string GUID.
Результат System.Guid

GetString() публичный статический Метод

Converts a GUID to a string.
This ensures all GUIDs are in the expected format.
public static GetString ( System.Guid guid ) : string
guid System.Guid /// The GUID. ///
Результат string

GetStrings() публичный статический Метод

Converts a GUID collection to an array of strings.
This ensures all GUIDs are in the expected format.
public static GetStrings ( IEnumerable guids ) : string[]
guids IEnumerable /// The GUID collection. ///
Результат string[]