Method Equal
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
SectionDefinitionIDThe 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;