Table of Contents

IsCountableSequence Method

Definition

Namespace
Cuemon
Assemblies
Cuemon.Kernel.dll
Source
src/Cuemon.Kernel/Condition.cs

IsCountableSequence(IEnumerable<int>)

Determines whether the specified source is a sequence of countable integrals (hence, integrals being either incremented or decremented with the same cardinality through out the sequence).

public static bool IsCountableSequence(IEnumerable<int> source)

Parameters

source IEnumerable<int>

The value to test for a sequence of countable characters.

Returns

bool

true if the specified source is a sequence of countable integrals (hence, integrals being either incremented or decremented with the same cardinality through out the sequence); otherwise, false.

IsCountableSequence(IEnumerable<long>)

Determines whether the specified source is a sequence of countable integrals (hence, integrals being either incremented or decremented with the same cardinality through out the sequence).

public static bool IsCountableSequence(IEnumerable<long> source)

Parameters

source IEnumerable<long>

The value to test for a sequence of countable characters.

Returns

bool

true if the specified source is a sequence of countable integrals (hence, integrals being either incremented or decremented with the same cardinality through out the sequence); otherwise, false.

IsCountableSequence(string)

Determines whether the specified value is a sequence of countable characters (hence, characters being either incremented or decremented with the same cardinality through out the sequence).

public static bool IsCountableSequence(string value)

Parameters

value string

The value to test for a sequence of countable characters.

Returns

bool

true if the specified value is a sequence of countable characters (hence, characters being either incremented or decremented with the same cardinality through out the sequence); otherwise, false.