Table of Contents

Method GetByID

Namespace
Skyline.DataMiner.Utils.DOM.Extensions
Assembly
Skyline.DataMiner.Utils.DOM.dll

GetByID(DomDefinitionCrudHelperComponent, Guid)

Gets a Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomDefinition by its ID.

public static DomDefinition GetByID(this DomDefinitionCrudHelperComponent helper, Guid id)

Parameters

helper DomDefinitionCrudHelperComponent

The Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomDefinitionCrudHelperComponent instance.

id Guid

The ID of the Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomDefinition to retrieve.

Returns

DomDefinition

The Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomDefinition with the specified ID, or null if not found.

Exceptions

ArgumentNullException

Thrown when helper is null.