Click or drag to resize
PeriodT Structure

Namespace: FlexRule
Assembly: FlexRule.Core.Library (in FlexRule.Core.Library.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public struct Period<T> : IComparable<Period<T>>
where T : IComparable

Type Parameters

T

The PeriodT type exposes the following members.

Constructors
Methods
  NameDescription
Public methodCompareTo
Returns -1 if this range's From is less than the other, 1 if greater. If both are equal, To is compared, 1 if greater, -1 if less. 0 if both ranges are equal.
Public methodContains
Border values are considered inside.
Public methodContainsExclusive
Border values are considered outside.
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode (Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIntersects
Whether two ranges intersect each other.
Public methodIntersectsExclusive
Whether two ranges intersect each other.
Public methodToString
Returns a String that represents this instance.
(Overrides ValueTypeToString.)
Top
Fields
  NameDescription
Public fieldFrom
Public fieldTo
Top
See Also