Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Serialization / SoapAttributeAttribute.cs / 1305376 / SoapAttributeAttribute.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
//-----------------------------------------------------------------------------
namespace System.Xml.Serialization {
using System;
///
///
/// [To be supplied.]
///
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
public class SoapAttributeAttribute : System.Attribute {
string attributeName;
string ns;
string dataType;
///
///
/// [To be supplied.]
///
public SoapAttributeAttribute() {
}
///
///
/// [To be supplied.]
///
public SoapAttributeAttribute(string attributeName) {
this.attributeName = attributeName;
}
///
///
/// [To be supplied.]
///
public string AttributeName {
get { return attributeName == null ? string.Empty : attributeName; }
set { attributeName = value; }
}
///
///
/// [To be supplied.]
///
public string Namespace {
get { return ns; }
set { ns = value; }
}
///
///
/// [To be supplied.]
///
public string DataType {
get { return dataType == null ? string.Empty : dataType; }
set { dataType = 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.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
public class SoapAttributeAttribute : System.Attribute {
string attributeName;
string ns;
string dataType;
///
///
/// [To be supplied.]
///
public SoapAttributeAttribute() {
}
///
///
/// [To be supplied.]
///
public SoapAttributeAttribute(string attributeName) {
this.attributeName = attributeName;
}
///
///
/// [To be supplied.]
///
public string AttributeName {
get { return attributeName == null ? string.Empty : attributeName; }
set { attributeName = value; }
}
///
///
/// [To be supplied.]
///
public string Namespace {
get { return ns; }
set { ns = value; }
}
///
///
/// [To be supplied.]
///
public string DataType {
get { return dataType == null ? string.Empty : dataType; }
set { dataType = 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
- CompiledQuery.cs
- ObjectDataSourceView.cs
- StreamSecurityUpgradeInitiatorAsyncResult.cs
- OracleDataAdapter.cs
- FixedSOMElement.cs
- BypassElementCollection.cs
- shaper.cs
- Parser.cs
- VarRemapper.cs
- SemanticAnalyzer.cs
- DefaultCommandExtensionCallback.cs
- RecordManager.cs
- PartialCachingAttribute.cs
- TemplateKeyConverter.cs
- UserMapPath.cs
- SqlInternalConnectionSmi.cs
- SweepDirectionValidation.cs
- RuntimeVariableList.cs
- ProxyHwnd.cs
- ListDictionaryInternal.cs
- ProtocolsConfigurationHandler.cs
- Nullable.cs
- MaskedTextProvider.cs
- TableLayoutStyleCollection.cs
- DrawingBrush.cs
- SmiContextFactory.cs
- isolationinterop.cs
- ImageDrawing.cs
- NetDataContractSerializer.cs
- InternalConfigConfigurationFactory.cs
- DurableErrorHandler.cs
- DependentList.cs
- RegexCapture.cs
- XmlSchema.cs
- CrossContextChannel.cs
- PhonemeEventArgs.cs
- CmsInterop.cs
- TabPanel.cs
- SQLDecimal.cs
- SecurityHelper.cs
- SchemaInfo.cs
- RegistrySecurity.cs
- TextCompositionManager.cs
- NotifyParentPropertyAttribute.cs
- SapiAttributeParser.cs
- PropertySourceInfo.cs
- DriveInfo.cs
- IndentedTextWriter.cs
- SmiMetaDataProperty.cs
- MessageContractImporter.cs
- RestHandler.cs
- DbProviderConfigurationHandler.cs
- ReferenceSchema.cs
- TypeBuilder.cs
- SingleConverter.cs
- ListViewInsertEventArgs.cs
- DependencyPropertyChangedEventArgs.cs
- ProtectedProviderSettings.cs
- NameTable.cs
- WFItemsToSpacerVisibility.cs
- TabPanel.cs
- WebServiceClientProxyGenerator.cs
- WindowsNonControl.cs
- WebFaultClientMessageInspector.cs
- _NestedMultipleAsyncResult.cs
- UserValidatedEventArgs.cs
- Size.cs
- FlowDocumentReaderAutomationPeer.cs
- ConnectionStringSettingsCollection.cs
- MemoryFailPoint.cs
- Decorator.cs
- unsafenativemethodstextservices.cs
- FrameworkElementFactory.cs
- MeasurementDCInfo.cs
- XsltSettings.cs
- IgnoreSectionHandler.cs
- ActivationProxy.cs
- SessionParameter.cs
- ExtensionQuery.cs
- BrowserCapabilitiesFactoryBase.cs
- QilFactory.cs
- SiteOfOriginPart.cs
- PrimaryKeyTypeConverter.cs
- ServiceModelActivity.cs
- DirectoryNotFoundException.cs
- ConvertEvent.cs
- MemoryRecordBuffer.cs
- EditorOptionAttribute.cs
- AppSecurityManager.cs
- DispatcherObject.cs
- SqlTransaction.cs
- Span.cs
- HttpAsyncResult.cs
- ListView.cs
- HostingEnvironmentWrapper.cs
- PerformanceCounterPermissionEntry.cs
- FixedFindEngine.cs
- CapabilitiesState.cs
- ParserExtension.cs
- TextEndOfSegment.cs