static public void LogCallback(string condition, string stackTrace, LogType type) { if (null == repos) { repos = new List <RepoEntry>(); } RepoEntry _e; if (_iMaxLogCount > repos.Count) { _e = new RepoEntry(); } else { _e = repos[0]; repos.RemoveAt(0); } _e.condition = condition; _e.stackTrace = stackTrace; _e.type = type; repos.Add(_e); }
private void _ShowRepoEntity(RepoEntry entity) { }