Table of Contents

Method GetByName

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

GetByName(DomDefinitionCrudHelperComponent, string)

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

public static DomDefinition GetByName(this DomDefinitionCrudHelperComponent helper, string name)

Parameters

helper DomDefinitionCrudHelperComponent

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

name string

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

Returns

DomDefinition

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

Exceptions

ArgumentNullException

Thrown when helper is null.

ArgumentException

Thrown when name is null or whitespace.