Exemplo n.º 1
0
        internal static ClientConfigurationSection GetConfiguration()
        {
            ClientConfigurationSection section = (ClientConfigurationSection)ConfigurationManager.GetSection("lithnetResourceManagementClient");

            if (section == null)
            {
                section = new ClientConfigurationSection();
            }

            return(section);
        }
        internal static ClientConfigurationSection GetConfiguration()
        {
            ClientConfigurationSection section = (ClientConfigurationSection)ConfigurationManager.GetSection("lithnetResourceManagementClient");

            if (section == null)
            {
                object s2 = ConfigurationManager.GetSection("resourceManagementClient");

                if (s2 != null)
                {
                    section = new Client.ClientConfigurationSection(s2);
                }
                else
                {
                    section = new ClientConfigurationSection();
                }
            }

            return(section);
        }