Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Xml / System / Xml / Serialization / SoapTypeAttribute.cs / 1 / SoapTypeAttribute.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
//-----------------------------------------------------------------------------
namespace System.Xml.Serialization {
using System;
///
///
/// [To be supplied.]
///
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct)]
public class SoapTypeAttribute : System.Attribute {
string ns;
string typeName;
bool includeInSchema = true;
///
///
/// [To be supplied.]
///
public SoapTypeAttribute() {
}
///
///
/// [To be supplied.]
///
public SoapTypeAttribute(string typeName) {
this.typeName = typeName;
}
///
///
/// [To be supplied.]
///
public SoapTypeAttribute(string typeName, string ns) {
this.typeName = typeName;
this.ns = ns;
}
///
///
/// [To be supplied.]
///
public bool IncludeInSchema {
get { return includeInSchema; }
set { includeInSchema = value; }
}
///
///
/// [To be supplied.]
///
public string TypeName {
get { return typeName == null ? string.Empty : typeName; }
set { typeName = value; }
}
///
///
/// [To be supplied.]
///
public string Namespace {
get { return ns; }
set { ns = value; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
//-----------------------------------------------------------------------------
namespace System.Xml.Serialization {
using System;
///
///
/// [To be supplied.]
///
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct)]
public class SoapTypeAttribute : System.Attribute {
string ns;
string typeName;
bool includeInSchema = true;
///
///
/// [To be supplied.]
///
public SoapTypeAttribute() {
}
///
///
/// [To be supplied.]
///
public SoapTypeAttribute(string typeName) {
this.typeName = typeName;
}
///
///
/// [To be supplied.]
///
public SoapTypeAttribute(string typeName, string ns) {
this.typeName = typeName;
this.ns = ns;
}
///
///
/// [To be supplied.]
///
public bool IncludeInSchema {
get { return includeInSchema; }
set { includeInSchema = value; }
}
///
///
/// [To be supplied.]
///
public string TypeName {
get { return typeName == null ? string.Empty : typeName; }
set { typeName = value; }
}
///
///
/// [To be supplied.]
///
public string Namespace {
get { return ns; }
set { ns = value; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DuplicateWaitObjectException.cs
- XmlSchemaResource.cs
- NonBatchDirectoryCompiler.cs
- ExceptionRoutedEventArgs.cs
- BamlVersionHeader.cs
- ListViewUpdatedEventArgs.cs
- WSFederationHttpBinding.cs
- WinEventWrap.cs
- ExceptionList.cs
- SqlMultiplexer.cs
- TextHidden.cs
- CreateUserWizard.cs
- FormatConvertedBitmap.cs
- ArgumentOutOfRangeException.cs
- Marshal.cs
- SpeakInfo.cs
- UrlMapping.cs
- XmlSchemaSimpleTypeList.cs
- LineVisual.cs
- Environment.cs
- LogicalExpr.cs
- RegexBoyerMoore.cs
- ReadContentAsBinaryHelper.cs
- FunctionDetailsReader.cs
- SmtpTransport.cs
- AggregateNode.cs
- Composition.cs
- SortDescription.cs
- HttpCookie.cs
- HtmlInputImage.cs
- Int64Animation.cs
- ByteStream.cs
- _FtpDataStream.cs
- ProxyHelper.cs
- SqlClientFactory.cs
- TextProviderWrapper.cs
- AdRotator.cs
- ErrorFormatter.cs
- FilterException.cs
- TimelineCollection.cs
- EntityDataSourceChangingEventArgs.cs
- System.Data_BID.cs
- XPathParser.cs
- ExpressionNode.cs
- HashSet.cs
- GeneralTransform.cs
- SinglePhaseEnlistment.cs
- IOThreadTimer.cs
- ArgumentElement.cs
- FloaterParaClient.cs
- SqlClientPermission.cs
- DesignerWebPartChrome.cs
- DataGridViewButtonCell.cs
- Atom10FormatterFactory.cs
- OdbcConnectionPoolProviderInfo.cs
- EntityUtil.cs
- ActiveXSite.cs
- EDesignUtil.cs
- OdbcException.cs
- MembershipSection.cs
- smtpconnection.cs
- FrameSecurityDescriptor.cs
- PageClientProxyGenerator.cs
- SequentialUshortCollection.cs
- shaperfactory.cs
- EmbeddedMailObjectsCollection.cs
- TemplateField.cs
- CommandBindingCollection.cs
- SessionEndingEventArgs.cs
- X509RawDataKeyIdentifierClause.cs
- ZipIOLocalFileHeader.cs
- SourceInterpreter.cs
- CommandID.cs
- PreservationFileWriter.cs
- SerializationException.cs
- HttpProxyCredentialType.cs
- TypeConverters.cs
- ServicesSection.cs
- SqlDataSource.cs
- TextPattern.cs
- PriorityQueue.cs
- StyleBamlTreeBuilder.cs
- PrintController.cs
- DataSourceView.cs
- CodeSubDirectory.cs
- MethodBuilder.cs
- FtpCachePolicyElement.cs
- SimplePropertyEntry.cs
- StringArrayConverter.cs
- TextTrailingCharacterEllipsis.cs
- ImageListUtils.cs
- FreezableCollection.cs
- BlurEffect.cs
- Timeline.cs
- DataSourceHelper.cs
- SafeEventLogWriteHandle.cs
- HostExecutionContextManager.cs
- PathFigure.cs
- EventLogLink.cs
- DataSet.cs