Table of Contents

Method GetById

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

GetById(DomBehaviorDefinitionCrudHelperComponent, Guid)

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

public static DomBehaviorDefinition GetById(this DomBehaviorDefinitionCrudHelperComponent helper, Guid id)

Parameters

helper DomBehaviorDefinitionCrudHelperComponent

The Skyline.DataMiner.Net.Apps.DataMinerObjectModel.CrudHelperComponents.DomBehaviorDefinitionCrudHelperComponent instance.

id Guid

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

Returns

DomBehaviorDefinition

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

Exceptions

ArgumentNullException

Thrown when helper is null.