示例#1
0
 internal Enumerator(FixedSizeStack <T> stack)
 {
     _stack          = stack;
     _version        = _stack._version;
     _index          = -2;
     _currentElement = default(T);
 }
示例#2
0
 public Logger(int historySize = 100, bool unityLog = true, int rows = 20)
 {
     _messages = new FixedSizeStack <string>(historySize);
     _unityLog = unityLog;
     _rows     = rows;
 }