Method ReadAll
- Namespace
- Skyline.DataMiner.Utils.DOM.Extensions
- Assembly
- Skyline.DataMiner.Utils.DOM.dll
ReadAll(DomInstanceCrudHelperComponent, DomDefinitionId)
Reads all Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstance objects with the specified Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomDefinitionId.
public static IEnumerable<DomInstance> ReadAll(this DomInstanceCrudHelperComponent helper, DomDefinitionId definitionId)
Parameters
helper
DomInstanceCrudHelperComponentThe Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstanceCrudHelperComponent.
definitionId
DomDefinitionIdThe Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomDefinitionId.
Returns
- IEnumerable<DomInstance>
An IEnumerable<T> of Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstance objects.
Exceptions
- ArgumentNullException
helper
ordefinitionId
is null.
ReadAll(DomInstanceCrudHelperComponent, DomDefinition)
Reads all Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstance objects with the specified Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomDefinition.
public static IEnumerable<DomInstance> ReadAll(this DomInstanceCrudHelperComponent helper, DomDefinition definition)
Parameters
helper
DomInstanceCrudHelperComponentThe Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstanceCrudHelperComponent.
definition
DomDefinitionThe Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomDefinition.
Returns
- IEnumerable<DomInstance>
An IEnumerable<T> of Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstance objects.
Exceptions
- ArgumentNullException
helper
ordefinition
is null.