1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
//------------------------------------------------------------------------------
// <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;
}
}
}
}
|