Skip to content

T_CodeJam_Ranges_RangeIntersection_1

Andrew Koryavchenko edited this page Jul 4, 2017 · 3 revisions

RangeIntersection(T) Structure

Describes an intersection of multiple ranges.

Namespace: CodeJam.Ranges
Assembly: CodeJam (in CodeJam.dll) Version: 1.1.0.0 (1.1.0.0)

Syntax

C#

public struct RangeIntersection<T> : IFormattable

VB

Public Structure RangeIntersection(Of T)
	Implements IFormattable

F#

[<SealedAttribute>]
type RangeIntersection<'T> =  
    struct
        interface IFormattable
    end

Type Parameters

 

T
The type of the range values.
  The RangeIntersection(T) type exposes the following members.

Properties

 

Name Description
Public property IntersectionRange The common part for all ranges in intersection.
Public property IsEmpty Gets a value indicating whether the intersection does not contain any ranges.
Public property IsNotEmpty Gets a value indicating whether the intersection contains any ranges.
Public property Ranges The ranges in the intersection, if any.
  Back to Top

Methods

 

Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString() Returns string representation of the range intersection. (Overrides ValueType.ToString().)
Public method ToString(IFormatProvider) Returns string representation of the range using the specified format string. If T does not implement the format string is ignored.
Public method ToString(String) Returns string representation of the range using the specified format string. If T does not implement the format string is ignored.
Public method ToString(String, IFormatProvider) Returns string representation of the range using the specified format string. If T does not implement the format string is ignored.
  Back to Top

See Also

Reference

CodeJam.Ranges Namespace
System.IFormattable

Clone this wiki locally