| | | 1 | | // Licensed to the .NET Foundation under one or more agreements. |
| | | 2 | | // The .NET Foundation licenses this file to you under the MIT license. |
| | | 3 | | |
| | | 4 | | using System.Configuration; |
| | | 5 | | |
| | | 6 | | namespace CoreWCF.Configuration |
| | | 7 | | { |
| | | 8 | | public sealed class BindingsSection : ConfigurationSection |
| | | 9 | | { |
| | | 10 | | [ConfigurationProperty(ConfigurationStrings.BasicHttpBindingCollectionElementName, Options = ConfigurationProper |
| | | 11 | | public BasicHttpBindingCollectionElement BasicHttpBinding |
| | | 12 | | { |
| | 41 | 13 | | get { return (BasicHttpBindingCollectionElement)base[ConfigurationStrings.BasicHttpBindingCollectionElementN |
| | | 14 | | } |
| | | 15 | | |
| | | 16 | | [ConfigurationProperty(ConfigurationStrings.NetTcpBindingCollectionElementName, Options = ConfigurationPropertyO |
| | | 17 | | public NetTcpBindingCollectionElement NetTcpBinding |
| | | 18 | | { |
| | 41 | 19 | | get { return (NetTcpBindingCollectionElement)base[ConfigurationStrings.NetTcpBindingCollectionElementName]; |
| | | 20 | | } |
| | | 21 | | |
| | | 22 | | [ConfigurationProperty(ConfigurationStrings.NetHttpBindingCollectionElementName, Options = ConfigurationProperty |
| | | 23 | | public NetHttpBindingCollectionElement NetHttpBinding |
| | | 24 | | { |
| | 41 | 25 | | get { return (NetHttpBindingCollectionElement)base[ConfigurationStrings.NetHttpBindingCollectionElementName] |
| | | 26 | | } |
| | | 27 | | |
| | | 28 | | [ConfigurationProperty(ConfigurationStrings.WSHttpBindingCollectionElementName, Options = ConfigurationPropertyO |
| | | 29 | | public WSHttpBindingCollectionElement wsHttpBinding |
| | | 30 | | { |
| | 41 | 31 | | get { return (WSHttpBindingCollectionElement)base[ConfigurationStrings.WSHttpBindingCollectionElementName]; |
| | | 32 | | } |
| | | 33 | | |
| | | 34 | | [ConfigurationProperty(ConfigurationStrings.WebHttpBindingCollectionElementName, Options = ConfigurationProperty |
| | | 35 | | public WebHttpBindingCollectionElement WebHttpBinding |
| | | 36 | | { |
| | 41 | 37 | | get { return (WebHttpBindingCollectionElement)base[ConfigurationStrings.WebHttpBindingCollectionElementName] |
| | | 38 | | } |
| | | 39 | | |
| | | 40 | | [ConfigurationProperty(ConfigurationStrings.CustomBindingCollectionElementName, Options = ConfigurationPropertyO |
| | | 41 | | public CustomBindingCollectionElement CustomBinding |
| | | 42 | | { |
| | 40 | 43 | | get { return (CustomBindingCollectionElement)base[ConfigurationStrings.CustomBindingCollectionElementName]; |
| | | 44 | | } |
| | | 45 | | } |
| | | 46 | | } |