// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_4_0
using System;
using System.Collections;
}
}
-#if NET_4_0
internal ConfigurationPropertyCollection PropertiesInternal {
get {
return Properties;
}
}
-#endif
public static StandardEndpointsSection GetSection (System.Configuration.Configuration config) {
ServiceModelSectionGroup sm = ServiceModelSectionGroup.GetSectionGroup (config);
return sm.StandardEndpoints;
}
- public new EndpointCollectionElement this [string name] {
+ public new EndpointCollectionElement this [string endpoint] {
get {
- object element = base [name];
+ object element = base [endpoint];
if (element is EndpointCollectionElement)
return (EndpointCollectionElement) element;
- throw new ArgumentException (String.Format ("Could not find {0}", name));
+ throw new ArgumentException (String.Format ("Could not find {0}", endpoint));
}
}
}
-#endif