ISequence T  ContainsSlice Method A Sandcastle Documented Class Library
Tests whether this sequence contains a given sequence as a slice. If this sequence represents an infinite set or series and doesn't contain slice, this will never return!

Namespace: Sequences
Assembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax
bool ContainsSlice(
	IEnumerable<T> slice
)

Parameters

slice
Type: System.Collections.Generic IEnumerable T 
The sequence to search for.

Return Value

Type: Boolean
True if this sequence contains a slice with the same elements as slice; otherwise, False.
See Also