コード例 #1
0
        public CodeStatDataCollection GetStatData()
        {
            CodeStatDataCollection data = new CodeStatDataCollection();

            foreach (var item in _codeStat)
            {
                data.Add(new CodeStatData(item.Key, _watchers[item.Key].ElapsedMilliseconds, item.Value));
            }

            return(data);
        }
コード例 #2
0
        public CodeStatDataCollection GetStatData()
        {
            CodeStatDataCollection data = new CodeStatDataCollection();

            foreach (var item in _codeStat)
            {
                if (!IsPrepared(item.Key.ScriptFileName))
                {
                    continue;
                }
                data.Add(new CodeStatData(item.Key, _watchers[item.Key].ElapsedMilliseconds, item.Value));
            }

            return(data);
        }