You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
419 B
26 lines
419 B
2 months ago
|
using System;
|
||
|
using System.Collections;
|
||
|
|
||
|
namespace Org.BouncyCastle.Utilities.Collections
|
||
|
{
|
||
|
public sealed class EnumerableProxy
|
||
|
: IEnumerable
|
||
|
{
|
||
|
private readonly IEnumerable inner;
|
||
|
|
||
|
public EnumerableProxy(
|
||
|
IEnumerable inner)
|
||
|
{
|
||
|
if (inner == null)
|
||
|
throw new ArgumentNullException("inner");
|
||
|
|
||
|
this.inner = inner;
|
||
|
}
|
||
|
|
||
|
public IEnumerator GetEnumerator()
|
||
|
{
|
||
|
return inner.GetEnumerator();
|
||
|
}
|
||
|
}
|
||
|
}
|