Table of Contents

Method Equal

Namespace
Skyline.DataMiner.Net.Sections
Assembly
SLNetTypes.dll

Equal(Exposer<SectionDefinition, Guid>, SectionDefinitionID)

Equal exposer extension.

public static ManagedFilter<SectionDefinition, Guid> Equal(this Exposer<SectionDefinition, Guid> idExposer, SectionDefinitionID id)

Parameters

idExposer Exposer<SectionDefinition, Guid>

The ID exposer.

id SectionDefinitionID

The section definition ID.

Returns

ManagedFilter<SectionDefinition, Guid>

A ManagedFilter<SectionDefinition, Guid> instance.

Examples

JobManagerHelper jobManagerHelper = new JobManagerHelper(msg => protocol.SLNet.RawConnection.HandleMessages(msg));

var sectionDefinition = jobManagerHelper.SectionDefinitions.Read(SectionDefinitionExposers.Name.Equal("MyCustomSectionDefinition")).FirstOrDefault() as CustomSectionDefinition;