File: net\System\Net\Configuration\SmtpSpecifiedPickupDirectoryElement.cs
Project: ndp\fx\src\System.csproj (System)
//------------------------------------------------------------------------------
// <copyright file="SmtpNetworkElement.cs" company="Microsoft Corporation">
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
 
namespace System.Net.Configuration
{
    using System;
    using System.Configuration;
    using System.Net;
    using System.Reflection;
    using System.Security.Permissions;
 
    public sealed class SmtpSpecifiedPickupDirectoryElement : ConfigurationElement
    {
        public SmtpSpecifiedPickupDirectoryElement()
        {
            this.properties.Add(this.pickupDirectoryLocation);
        }
 
        protected override ConfigurationPropertyCollection Properties 
        {
            get 
            {
                return this.properties;
            }
        }
 
        [ConfigurationProperty(ConfigurationStrings.PickupDirectoryLocation)]
        public string PickupDirectoryLocation
        {
            get { return (string)this[this.pickupDirectoryLocation]; }
            set { this[this.pickupDirectoryLocation] = value; }
        }
 
	        
        // 
 
 
 
        ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection();
 
        readonly ConfigurationProperty pickupDirectoryLocation =
            new ConfigurationProperty(ConfigurationStrings.PickupDirectoryLocation, typeof(string), null,
                    ConfigurationPropertyOptions.None);
    }
 
    internal sealed class SmtpSpecifiedPickupDirectoryElementInternal
    {
        internal SmtpSpecifiedPickupDirectoryElementInternal(SmtpSpecifiedPickupDirectoryElement element)
        {
            this.pickupDirectoryLocation = element.PickupDirectoryLocation;
        }
 
        internal string PickupDirectoryLocation
        {
            get { return this.pickupDirectoryLocation; }
        }
 
        string pickupDirectoryLocation;
    }
}