Struct IntRange
Represents the range of consequent integer numbers.
Assembly: FancyCandles.dll
Syntax
Constructors
|
Improve this Doc
View Source
IntRange(Int32, Int32)
Initializes a new instance of the IntRange structure that has the specified Start_i and Count.
Declaration
public IntRange(int start_i, int count)
Parameters
Type |
Name |
Description |
System.Int32 |
start_i |
The Start_i of the IntRange
|
System.Int32 |
count |
The Count of the IntRange
|
Fields
|
Improve this Doc
View Source
Count
Declaration
Field Value
Type |
Description |
System.Int32 |
The length of the range.
|
|
Improve this Doc
View Source
Start_i
The first integer number in the range.
Declaration
Field Value
Type |
Description |
System.Int32 |
The first integer number in the range.
|
Properties
|
Improve this Doc
View Source
Undefined
Returns a specific IntRange instance which is denoted as Undefined.
Declaration
public static IntRange Undefined { get; }
Property Value
See Also
Methods
|
Improve this Doc
View Source
CreateContainingOnlyStart_i(Int32)
Creates an IntRange instance with specified Start_i and undefined Count. We denote such instances as ContainingOnlyStart_i.
Declaration
public static IntRange CreateContainingOnlyStart_i(int start_i)
Parameters
Type |
Name |
Description |
System.Int32 |
start_i |
|
Returns
See Also
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
|
Improve this Doc
View Source
IsContainsOnlyStart_i(IntRange)
Determines whether the specified parameter intRange is ContainingOnlyStart_i.
Declaration
public static bool IsContainsOnlyStart_i(IntRange intRange)
Parameters
Returns
Type |
Description |
System.Boolean |
|
See Also
|
Improve this Doc
View Source
IsUndefined(IntRange)
Determines whether the specified parameter intRange is Undefined.
Declaration
public static bool IsUndefined(IntRange intRange)
Parameters
Returns
Type |
Description |
System.Boolean |
|
See Also
Operators
|
Improve this Doc
View Source
Equality(IntRange, IntRange)
Declaration
public static bool operator ==(IntRange c1, IntRange c2)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Inequality(IntRange, IntRange)
Declaration
public static bool operator !=(IntRange c1, IntRange c2)
Parameters
Returns
Type |
Description |
System.Boolean |
|