ServiceModelConfigurationSection.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModelInstall / System / ServiceModel / Install / Configuration / ServiceModelConfigurationSection.cs / 1 / ServiceModelConfigurationSection.cs

                            //------------------------------------------------------------------------------ 
// Copyright (c) Microsoft Corporation.  All rights reserved.
//-----------------------------------------------------------------------------

namespace System.ServiceModel.Install.Configuration 
{
    using System; 
    using System.Xml; 
    using System.Xml.Serialization;
 
    public class ServiceModelConfigurationSection
    {
        string allowDefinition;
        string allowExeDefinition; 
        string name;
        string type; 
 
        [XmlAttribute("allowDefinition")]
        public string AllowDefinition 
        {
            get { return this.allowDefinition; }
            set { this.allowDefinition = value; }
        } 

        [XmlAttribute("allowExeDefinition")] 
        public string AllowExeDefinition 
        {
            get { return this.allowExeDefinition; } 
            set { this.allowExeDefinition = value; }
        }

        [XmlAttribute("name")] 
        public string Name
        { 
            get { return this.name; } 
            set { this.name = value; }
        } 

        [XmlAttribute("type")]
        public string Type
        { 
            get { return this.type; }
            set { this.type = value; } 
        } 

        public ServiceModelConfigurationSection() 
            : this(null, null)
        {
        }
 
        public ServiceModelConfigurationSection(string name, string type)
        { 
            this.Name = name; 
            this.Type = type;
            this.allowDefinition = null; 
            this.allowExeDefinition = null;
        }
    }
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK