Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Xml / System / Xml / Serialization / SoapElementAttribute.cs / 1 / SoapElementAttribute.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 SoapElementAttribute : System.Attribute {
string elementName;
string dataType;
bool nullable;
///
///
/// [To be supplied.]
///
public SoapElementAttribute() {
}
///
///
/// [To be supplied.]
///
public SoapElementAttribute(string elementName) {
this.elementName = elementName;
}
///
///
/// [To be supplied.]
///
public string ElementName {
get { return elementName == null ? string.Empty : elementName; }
set { elementName = value; }
}
///
///
/// [To be supplied.]
///
public string DataType {
get { return dataType == null ? string.Empty : dataType; }
set { dataType = value; }
}
///
///
/// [To be supplied.]
///
public bool IsNullable {
get { return nullable; }
set { nullable = 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 SoapElementAttribute : System.Attribute {
string elementName;
string dataType;
bool nullable;
///
///
/// [To be supplied.]
///
public SoapElementAttribute() {
}
///
///
/// [To be supplied.]
///
public SoapElementAttribute(string elementName) {
this.elementName = elementName;
}
///
///
/// [To be supplied.]
///
public string ElementName {
get { return elementName == null ? string.Empty : elementName; }
set { elementName = value; }
}
///
///
/// [To be supplied.]
///
public string DataType {
get { return dataType == null ? string.Empty : dataType; }
set { dataType = value; }
}
///
///
/// [To be supplied.]
///
public bool IsNullable {
get { return nullable; }
set { nullable = 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
- WebPartTransformer.cs
- Signature.cs
- WeakRefEnumerator.cs
- TextCollapsingProperties.cs
- XamlDebuggerXmlReader.cs
- TransferMode.cs
- Parsers.cs
- EnumType.cs
- hresults.cs
- DataRelationCollection.cs
- SoapTransportImporter.cs
- DesignerTransaction.cs
- GcSettings.cs
- FaultReasonText.cs
- MimeParameterWriter.cs
- MemberListBinding.cs
- AnyReturnReader.cs
- CollectionChangedEventManager.cs
- Request.cs
- RepeaterItemEventArgs.cs
- ExternalException.cs
- HostSecurityManager.cs
- SqlServer2KCompatibilityCheck.cs
- Cursors.cs
- WebCategoryAttribute.cs
- TerminateSequenceResponse.cs
- StringConverter.cs
- ExtenderControl.cs
- EntityContainer.cs
- ContextMenu.cs
- OdbcEnvironmentHandle.cs
- Wildcard.cs
- ActiveDocumentEvent.cs
- ObjectAnimationUsingKeyFrames.cs
- IntSumAggregationOperator.cs
- DefaultObjectMappingItemCollection.cs
- WebControlParameterProxy.cs
- Size3D.cs
- ViewStateException.cs
- RefreshPropertiesAttribute.cs
- ObjectSet.cs
- COMException.cs
- TextEffectResolver.cs
- XamlWrapperReaders.cs
- PrinterSettings.cs
- AssociationTypeEmitter.cs
- OleDbException.cs
- GlyphRun.cs
- WebControlsSection.cs
- AuthenticationModuleElementCollection.cs
- MonthCalendarDesigner.cs
- DataGridTableCollection.cs
- Binding.cs
- WeakReadOnlyCollection.cs
- TextElementAutomationPeer.cs
- IntegerFacetDescriptionElement.cs
- ScrollPattern.cs
- EmptyControlCollection.cs
- TextModifierScope.cs
- StyleSelector.cs
- MgmtConfigurationRecord.cs
- IdentityElement.cs
- updatecommandorderer.cs
- TranslateTransform3D.cs
- View.cs
- RecordBuilder.cs
- CultureSpecificStringDictionary.cs
- LayoutTable.cs
- BigInt.cs
- BookmarkScopeHandle.cs
- XmlNodeList.cs
- ColumnCollection.cs
- SpeechDetectedEventArgs.cs
- DataGridViewCellPaintingEventArgs.cs
- SimpleMailWebEventProvider.cs
- ToolbarAUtomationPeer.cs
- RtfToXamlLexer.cs
- TableLayoutCellPaintEventArgs.cs
- XmlSchemaSet.cs
- StatusBar.cs
- AccessedThroughPropertyAttribute.cs
- AccessControlList.cs
- BrushProxy.cs
- EditorZone.cs
- XamlSerializerUtil.cs
- ProcessManager.cs
- SignatureToken.cs
- TypeSemantics.cs
- SslStream.cs
- Mappings.cs
- Freezable.cs
- ScrollItemProviderWrapper.cs
- InvalidDataException.cs
- ScriptReferenceEventArgs.cs
- XmlQueryTypeFactory.cs
- RegisteredScript.cs
- PagesSection.cs
- Membership.cs
- Operators.cs
- KeyedCollection.cs