internal void Configure(ProxySection section) { if (section.ElementInformation.IsPresent) { Host = section.Host; Port = section.Port; Username = section.Username; Password = section.Password; } }
internal void Configure(ProxySection section) { if (section.ElementInformation.IsPresent) { Host = section.Host; Port = section.Port; Username = section.Username; Password = section.Password; BypassList = new List<string>(section.BypassList); BypassOnLocal = section.BypassOnLocal.GetValueOrDefault(); } }
internal void Configure(ProxySection section) { if (section.ElementInformation.IsPresent) { Host = section.Host; Port = section.Port; Username = section.Username; Password = section.Password; BypassList = new List <string>(section.BypassList); BypassOnLocal = section.BypassOnLocal.GetValueOrDefault(); } }
public static ProxySection Proxy(this CustomConfiguration config) { lock (_lockObjectProxy) { if (_proxySection == null) { _proxySection = ConfigurationManager.GetSection(ProxySection.SectionName) as ProxySection; if (_proxySection == null) { throw new ConfigurationErrorsException(String.Format(ConfigurationMessages.SectionNotFound, ProxySection.SectionName)); } } } return(_proxySection); }
internal void Configure(ProxySection section) { }