C# Class Aqueduct.SitecoreLib.Search.Utilities.IdHelper

Mostrar archivo Open project: aqueduct/Aqueduct.SitecoreLib

Public Methods

Method Description
ContainsMultiGuids ( string value ) : bool

Indicates if a string parameter has several GUIDs.

NormalizeGuid ( ID guid ) : string

Converts a GUID into ShortID.

NormalizeGuid ( string guid ) : string

Converts a GUID into ShortID.

ParseId ( string value ) : string[]

Returns array or strings of IDs passed as a string value. E.g. value of multi-selection fields like Multilist, Treelist etc.

ProcessGUIDs ( string value ) : string

Converts GUID into ShortID value. Multiple GUIDs get separated with a space (" ") character.

Method Details

ContainsMultiGuids() public static method

Indicates if a string parameter has several GUIDs.
public static ContainsMultiGuids ( string value ) : bool
value string
return bool

NormalizeGuid() public static method

Converts a GUID into ShortID.
public static NormalizeGuid ( ID guid ) : string
guid ID Sitecore item ID.
return string

NormalizeGuid() public static method

Converts a GUID into ShortID.
public static NormalizeGuid ( string guid ) : string
guid string String that contains a GUID.
return string

ParseId() public static method

Returns array or strings of IDs passed as a string value. E.g. value of multi-selection fields like Multilist, Treelist etc.
public static ParseId ( string value ) : string[]
value string A string value that contains IDs separated with '|' character.
return string[]

ProcessGUIDs() public static method

Converts GUID into ShortID value. Multiple GUIDs get separated with a space (" ") character.
public static ProcessGUIDs ( string value ) : string
value string String that contains GUID
return string