FairyGUI.Utils.XMLList.Enumerator.Enumerator C# (CSharp) Method

Enumerator() public method

public Enumerator ( List source, string selector ) : System
source List
selector string
return System
            public Enumerator(List<XML> source, string selector)
            {
                _source = source;
                _selector = selector;
                _index = -1;
                if (_source != null)
                    _total = _source.Count;
                else
                    _total = 0;
                _current = null;
            }