Пример #1
0
 public ContainerWithReadOnlyNonGenericEnumerable(IEnumerable items)
 {
     Items = new NonGenericEnumerable();
     foreach (var item in items)
     {
         Items.Add(item);
     }
 }
Пример #2
0
 public ContainerWithReadOnlyNonGenericEnumerable()
 {
     Items = new NonGenericEnumerable();
 }