DotNet Reference

DotNet Reference

CpIntVector.CpIntVectorEnumerator

Detailed Description

Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever the collection is modified.

This has been done for changes in the size of the collection but not when one of the elements of the collection is modified as it is a bit tricky to detect unmanaged code that modifies the collection under our feet.

Definition at line 164 of file CpIntVector.cs.

Public Member Functions

 CpIntVectorEnumerator (CpIntVector collection)
 
bool MoveNext ()
 
void Reset ()
 
void Dispose ()
 

Properties

int Current [get]
 

Constructor & Destructor Documentation

◆ CpIntVectorEnumerator()

CpIntVectorEnumerator ( CpIntVector  collection)
inline

Definition at line 172 of file CpIntVector.cs.

Member Function Documentation

◆ Dispose()

void Dispose ( )
inline

Definition at line 219 of file CpIntVector.cs.

◆ MoveNext()

bool MoveNext ( )
inline

Definition at line 199 of file CpIntVector.cs.

◆ Reset()

void Reset ( )
inline

Definition at line 211 of file CpIntVector.cs.

Property Documentation

◆ Current

int Current
get

Definition at line 180 of file CpIntVector.cs.


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