예제 #1
0
        /// <summary>
        ///
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="name"></param>
        /// <returns></returns>
        public T FindName <T>(string name) where T : class
        {
            try
            {
                return((T)FindName(name));
            }
            catch (Exception e)
            {
                log.Error(e.Output(), e);
                MessageBase.Error(e);
            }

            return(null);
        }