Beispiel #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());
        }
 /// <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();
 }