I built a concurrent list class that implements the interfaces IEnumerator<T>
and IEnumerable<T>
.
My goal is to be able to write:
IEnumrable<string> MyConcurrentList1 = new ConcurrentList<string>();
MyConcurrentList1.AsParallel().MyExtantionMethod_ADD("aaaa");
I want to be able to call the method I wrote in the ConcurrentList<T>
from the extenstion method of the ParallelQuery
!