Table of Contents

Method GetByName

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

GetByName(DomBehaviorDefinitionCrudHelperComponent, string)

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

public static DomBehaviorDefinition GetByName(this DomBehaviorDefinitionCrudHelperComponent helper, string name)

Parameters

helper DomBehaviorDefinitionCrudHelperComponent

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

name string

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

Returns

DomBehaviorDefinition

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

Exceptions

ArgumentNullException

Thrown when helper is null.

ArgumentException

Thrown when name is null or whitespace.