Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- WebScriptEnablingBehavior.cs
- Parameter.cs
- IncrementalHitTester.cs
- Geometry.cs
- Stream.cs
- ApplicationFileCodeDomTreeGenerator.cs
- IItemContainerGenerator.cs
- ResourceDisplayNameAttribute.cs
- SafeBitVector32.cs
- GenericEnumerator.cs
- PointAnimationUsingKeyFrames.cs
- WebException.cs
- SqlNotificationEventArgs.cs
- ComponentEditorPage.cs
- CopyNamespacesAction.cs
- XmlSchemaImporter.cs
- TemplateEditingFrame.cs
- TreeNodeConverter.cs
- HitTestParameters3D.cs
- TemplateLookupAction.cs
- Animatable.cs
- MessageHeaderInfoTraceRecord.cs
- SqlUtil.cs
- Timer.cs
- ResourceCodeDomSerializer.cs
- RtType.cs
- PropagatorResult.cs
- MdImport.cs
- APCustomTypeDescriptor.cs
- RectAnimationUsingKeyFrames.cs
- MouseGestureValueSerializer.cs
- ParagraphResult.cs
- EventPropertyMap.cs
- FixedBufferAttribute.cs
- CurrencyManager.cs
- BamlLocalizableResourceKey.cs
- FolderNameEditor.cs
- ServiceDescriptionReflector.cs
- ActivityFunc.cs
- AspNetHostingPermission.cs
- SiteMapDataSourceView.cs
- TransportSecurityBindingElement.cs
- XmlQueryOutput.cs
- SemanticResultValue.cs
- HelpInfo.cs
- EdmSchemaAttribute.cs
- PriorityBindingExpression.cs
- VirtualDirectoryMapping.cs
- SeparatorAutomationPeer.cs
- WorkflowPersistenceService.cs
- FileChangesMonitor.cs
- StringToken.cs
- XmlDocument.cs
- ResourceReferenceExpression.cs
- DBSchemaRow.cs
- SchemaImporterExtension.cs
- SafeHandle.cs
- SspiSafeHandles.cs
- AppDomainAttributes.cs
- TransformConverter.cs
- AsnEncodedData.cs
- InputScopeManager.cs
- SubMenuStyleCollection.cs
- LayoutTableCell.cs
- UnsafeNativeMethods.cs
- AlternateViewCollection.cs
- UriScheme.cs
- SqlInfoMessageEvent.cs
- WebInvokeAttribute.cs
- ObjectHandle.cs
- XmlWellformedWriterHelpers.cs
- SourceItem.cs
- TextEditorMouse.cs
- Translator.cs
- Size3D.cs
- EntityDataSourceColumn.cs
- SchemaTypeEmitter.cs
- ApplicationFileParser.cs
- AssociationSetMetadata.cs
- RightsManagementManager.cs
- BasicExpressionVisitor.cs
- ObjectSet.cs
- SQLInt16Storage.cs
- BitmapEffectInputData.cs
- XPathMessageFilterTable.cs
- KnownIds.cs
- Dump.cs
- Binding.cs
- ActionFrame.cs
- SqlCacheDependency.cs
- QilLiteral.cs
- AlignmentXValidation.cs
- SourceItem.cs
- ServiceChannelManager.cs
- PathGeometry.cs
- SyndicationDeserializer.cs
- ValueTypeFixupInfo.cs
- ScrollPatternIdentifiers.cs
- ActivityDesignerResources.cs
- RouteParametersHelper.cs