Table of Contents

Class TimeRangeSectionValidator

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

Represents a time range validator. This validator defines that there are two DateTime fields in the SectionDefinition, where one represents the start time and the other the end time. This validator validates whether the end time is always later than the start time.

[Serializable]
public sealed class TimeRangeSectionValidator : ISectionValidator
Inheritance
TimeRangeSectionValidator
Implements
Extension Methods

Constructors

TimeRangeSectionValidator()

Initializes a new instance of the TimeRangeSectionValidator class.

TimeRangeSectionValidator(FieldDescriptorID, FieldDescriptorID)

Initializes a new instance of the TimeRangeSectionValidator class with the specified start and end time.

Properties

EndTimeID

Gets or sets the field descriptor ID of the end time field.

StartTimeID

Gets or sets the field descriptor ID of the start time field.

Methods

Equals(TimeRangeSectionValidator)

Indicates whether the current object is equal to another object of the same type.

Equals(object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Calculates the hash code for this object.

ToString()

Returns a string that represents the current object.

Validate(Section)

Validates the specified section.