Ejemplo n.º 1
0
        public bool TryGetGroup(string name, out HistoryGroup result)
        {
            HistoryGroup historyGroup;

            if (ChildContainer.TryGetValue(name, out historyGroup))
            {
                result = historyGroup;
                return(true);
            }
            result = null;
            return(false);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// </summary>
        /// <param name="name"> </param>
        /// <param name="result"> </param>
        /// <returns> </returns>
        public bool TryGetGroup(string name, out StatGroup result)
        {
            StatGroup statGroup;

            if (ChildContainer.TryGetValue(name, out statGroup))
            {
                result = statGroup;
                return(true);
            }
            result = null;
            return(false);
        }