Click or drag to resize

Outage Class

Represents an outage as a start time and an end time.
Inheritance Hierarchy
SystemObject
  GSFRangeDateTimeOffset
    GSF.IOOutage

Namespace: GSF.IO
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public class Outage : Range<DateTimeOffset>, 
	IEquatable<Outage>
View Source

The Outage type exposes the following members.

Constructors
 NameDescription
Public methodOutage(RangeDateTimeOffset) Creates a new Outage with the same start and end time as the given range.
Public methodOutage(DateTimeOffset, DateTimeOffset) Creates a new Outage with the specified start and end time.
Top
Properties
 NameDescription
Public propertyEnd Gets the end value of the range.
(Inherited from RangeT)
Public propertyStart Gets the start value of the range.
(Inherited from RangeT)
Top
Methods
 NameDescription
Public methodContains(T) Determines whether the range contains the given value.
(Inherited from RangeT)
Public methodContains(RangeT) Determines whether the range contains the given range.
(Inherited from RangeT)
Public methodContains(T, IComparerT) Determines whether the range contains the given value.
(Inherited from RangeT)
Public methodContains(T, ComparisonT) Determines whether the range contains the given value.
(Inherited from RangeT)
Public methodContains(RangeT, IComparerT) Determines whether the range contains the given range.
(Inherited from RangeT)
Public methodContains(RangeT, ComparisonT) Determines whether the range contains the given range.
(Inherited from RangeT)
Public methodEquals(Object) Determines if this Outage equals another object.
(Overrides ObjectEquals(Object))
Public methodEquals(Outage) Determines if this Outage equals another outage.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCode Gets the hash code for this Outage.
(Overrides ObjectGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodMerge(RangeT) Merges two ranges into one range that fully encompasses both ranges.
(Inherited from RangeT)
Public methodMerge(RangeT, IComparerT) Merges two ranges into one range that fully encompasses both ranges.
(Inherited from RangeT)
Public methodMerge(RangeT, ComparisonT) Merges two ranges into one range that fully encompasses both ranges.
(Inherited from RangeT)
Public methodStatic memberMergeOverlapping Merges all consecutive groups of overlapping ranges in a collection and returns the resulting collection of outages.
Public methodOverlaps(RangeT) Determines whether the range overlaps with the given range.
(Inherited from RangeT)
Public methodOverlaps(RangeT, IComparerT) Determines whether the range overlaps with the given range.
(Inherited from RangeT)
Public methodOverlaps(RangeT, ComparisonT) Determines whether the range overlaps with the given range.
(Inherited from RangeT)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also