C5  2.4
The C5 Generic Collection Library for C# and CLI is a comprehensive collection library supporting lists, sets, bags, dictionaries, priority queues, (FIFO) queues, and (LIFO) stacks. C5 runs on .NET 3.5+, Silverlight 5, Windows Phone 8, Xamarin.iOS, Xamarin.Android, and Mono.
C5.GuardedDirectedEnumerable< T > Class Template Reference

A read-only wrapper for a generic directed enumerable More...

Inheritance diagram for C5.GuardedDirectedEnumerable< T >:
C5.GuardedEnumerable< T > C5.IDirectedEnumerable< T >

Public Member Functions

 GuardedDirectedEnumerable (IDirectedEnumerable< T > directedenumerable)
 Wrap a directed enumerable in a read-only wrapper More...
 
IDirectedEnumerable< T > Backwards ()
 Get a enumerable that enumerates the wrapped collection in the opposite direction More...
 
- Public Member Functions inherited from C5.GuardedEnumerable< T >
 GuardedEnumerable (SCG.IEnumerable< T > enumerable)
 Wrap an enumerable in a read-only wrapper More...
 
SCG.IEnumerator< T > GetEnumerator ()
 Get an enumerator from the wrapped enumerable More...
 

Properties

EnumerationDirection Direction [get]
 
- Properties inherited from C5.IDirectedEnumerable< T >
EnumerationDirection Direction [get]
 

Detailed Description

A read-only wrapper for a generic directed enumerable

This is mainly interesting as a base of other guard classes

Constructor & Destructor Documentation

Wrap a directed enumerable in a read-only wrapper

Parameters
directedenumerablethe collection to wrap

Member Function Documentation

Get a enumerable that enumerates the wrapped collection in the opposite direction

Returns
The mirrored enumerable

Implements C5.IDirectedEnumerable< T >.

Property Documentation

Forwards if same, else Backwards

The enumeration direction relative to the original collection.


The documentation for this class was generated from the following file: