2 using System.Collections.Generic;
5 using System.Runtime.Serialization;
6 using DirectOutput.Cab.Out;
7 namespace DirectOutput.Cab
22 public IEnumerator<IOutput> GetEnumerator()
27 System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
29 return this.GetEnumerator();
44 this._CabinetOutputList = CabinetOutputList;
51 get {
return this._Current; }
59 object System.Collections.IEnumerator.Current
61 get {
return this.Current; }
64 public bool MoveNext()
67 if (_Index < _CabinetOutputList.Count)
69 _Current = _CabinetOutputList[_Index];
92 public IOutput this[
string Name]
96 string[] N = Name.Replace(
"/",
"\\").Split(
'\\');
100 if (OutputControllers.Contains(N[0]))
134 int Cnt = this.Count;
147 throw new Exception(
"Enumeration index of CabinateOutputList out of range");
173 public bool Contains(
string Name)
175 return (
this[Name] != null);