blob: 9eec4af21386e0e4111523b91426679ec8dbf82e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
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();
}
}
}
|