Show / Hide Table of Contents

Struct IntRange

Represents the range of consequent integer numbers.

Namespace: FancyCandles
Assembly: FancyCandles.dll
Syntax
public struct IntRange

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

The length of the range.

Declaration
public int Count
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
public int Start_i
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
Type Description
IntRange
See Also
IsUndefined(IntRange)

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
Type Description
IntRange
See Also
IsContainsOnlyStart_i(IntRange)
| 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
Type Name Description
IntRange intRange
Returns
Type Description
System.Boolean
See Also
CreateContainingOnlyStart_i(Int32)
| Improve this Doc View Source

IsUndefined(IntRange)

Determines whether the specified parameter intRange is Undefined.

Declaration
public static bool IsUndefined(IntRange intRange)
Parameters
Type Name Description
IntRange intRange
Returns
Type Description
System.Boolean
See Also
Undefined

Operators

| Improve this Doc View Source

Equality(IntRange, IntRange)

Declaration
public static bool operator ==(IntRange c1, IntRange c2)
Parameters
Type Name Description
IntRange c1
IntRange c2
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Inequality(IntRange, IntRange)

Declaration
public static bool operator !=(IntRange c1, IntRange c2)
Parameters
Type Name Description
IntRange c1
IntRange c2
Returns
Type Description
System.Boolean
  • Improve this Doc
  • View Source

Struct IntRange

Back to top Generated by DocFX. Copyright Ⓒ Dennis Geller 2019.