File: System\Web\Services\Description\MimeParameter.cs
Project: ndp\cdf\src\NetFx20\System.Web.Services\System.Web.Services.csproj (System.Web.Services)
//------------------------------------------------------------------------------
// <copyright file="MimeParameter.cs" company="Microsoft">
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>                                                                
//------------------------------------------------------------------------------
 
namespace System.Web.Services.Description {
 
    using System.Web.Services;
    using System.Web.Services.Protocols;
    using System.Xml.Serialization;
    using System.Xml.Schema;
    using System.Collections;
    using System;
    using System.Reflection;
    using System.CodeDom;
 
    internal class MimeParameter {
        string name;
        string typeName;
        CodeAttributeDeclarationCollection attrs;
 
        internal string Name {
            get { return name == null ? string.Empty : name; }
            set { name = value; }
        }
 
        internal string TypeName {
            get { return typeName == null ? string.Empty : typeName; }
            set { typeName = value; }
        }
 
        internal CodeAttributeDeclarationCollection Attributes {
            get { 
                if (attrs == null)
                    attrs = new CodeAttributeDeclarationCollection();
                return attrs; 
            }
        }
    }
}