Exemple #1
0
        //////////////////////////////////////////////////////////////
        /// <summary>
        ///   This method is used to register a config supplier.
        /// </summary>
        /// <param name="supplier">the supplier to register</param>
        //////////////////////////////////////////////////////////////

        public static void RegisterSupplier(IConfigSupplier supplier)
        {
            AppConfig ac = GetConfig(supplier.AppName);

            ac.RegisterConfigSupplier(supplier);
        }