Class Range<T>
Inheritance
System.Object
Range<T>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Core
Assembly: Telerik.Windows.Scheduling.Core.dll
Syntax
public class Range<T> : IEquatable<Range<T>>, IComparable<Range<T>> where T : IEquatable<T>
Type Parameters
T
|
Constructors
Range(T)
Declaration
public Range(T start)
Parameters
T
start
|
Range(T, T)
Declaration
public Range(T start, T end)
Parameters
T
start
|
T
end
|
Properties
End
Declaration
public T End { get; }
Property Value
T
|
Start
Declaration
public T Start { get; }
Property Value
T
|
Methods
CompareTo(Range<T>)
Declaration
public int CompareTo(Range<T> other)
Parameters
Range<T>
other
|
Returns
System.Int32
|
Implements
System.IComparable<T>.CompareTo(T)
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
|
Returns
System.Boolean
|
Overrides
System.Object.Equals(System.Object)
Equals(Range<T>)
Declaration
public bool Equals(Range<T> other)
Parameters
Range<T>
other
|
Returns
System.Boolean
|
Implements
System.IEquatable<T>.Equals(T)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.Int32
|
Overrides
System.Object.GetHashCode()
ToString()
Declaration
public override string ToString()
Returns
System.String
|
Overrides
System.Object.ToString()
Operators
Equality(Range<T>, Range<T>)
Declaration
public static bool operator ==(Range<T> left, Range<T> right)
Parameters
Range<T>
left
|
Range<T>
right
|
Returns
System.Boolean
|
GreaterThan(Range<T>, Range<T>)
Declaration
public static bool operator>(Range<T> left, Range<T> right)
Parameters
Range<T>
left
|
Range<T>
right
|
Returns
System.Boolean
|
GreaterThanOrEqual(Range<T>, Range<T>)
Declaration
public static bool operator >=(Range<T> left, Range<T> right)
Parameters
Range<T>
left
|
Range<T>
right
|
Returns
System.Boolean
|
Inequality(Range<T>, Range<T>)
Declaration
public static bool operator !=(Range<T> left, Range<T> right)
Parameters
Range<T>
left
|
Range<T>
right
|
Returns
System.Boolean
|
LessThan(Range<T>, Range<T>)
Declaration
public static bool operator <(Range<T> left, Range<T> right)
Parameters
Range<T>
left
|
Range<T>
right
|
Returns
System.Boolean
|
LessThanOrEqual(Range<T>, Range<T>)
Declaration
public static bool operator <=(Range<T> left, Range<T> right)
Parameters
Range<T>
left
|
Range<T>
right
|
Returns
System.Boolean
|