示例#1
0
        /// <summary>
        /// Loads the single instance of <see cref="SystemResource"/> (router description and state).
        /// </summary>
        /// <returns>Single instance of <see cref="SystemResource"/> (router description and state)</returns>
        public static SystemResource LoadInstance()
        {
            SystemResourceList list = new SystemResourceList();

            list.LoadAll();
            return(list.Single());
        }
示例#2
0
 /// <summary>
 /// Loads the single instance of <see cref="SystemResource"/> (router description and state).
 /// </summary>
 /// <returns>Single instance of <see cref="SystemResource"/> (router description and state)</returns>
 public static SystemResource LoadInstance()
 {
     SystemResourceList list = new SystemResourceList();
     list.LoadAll();
     return list.Single();
 }