Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DrawingAttributeSerializer.cs
- WebContext.cs
- EntityDesignerBuildProvider.cs
- TransportDefaults.cs
- Boolean.cs
- PropertyConverter.cs
- ComplusTypeValidator.cs
- ImageSource.cs
- WindowsEditBox.cs
- TargetControlTypeCache.cs
- EventHandlingScope.cs
- BamlTreeNode.cs
- OptimisticConcurrencyException.cs
- TextStore.cs
- DetailsViewRowCollection.cs
- Function.cs
- ProviderConnectionPointCollection.cs
- IconBitmapDecoder.cs
- IpcChannelHelper.cs
- CustomErrorsSection.cs
- StringResourceManager.cs
- ExpressionReplacer.cs
- TrackingAnnotationCollection.cs
- ChineseLunisolarCalendar.cs
- SourceSwitch.cs
- PropertiesTab.cs
- _DisconnectOverlappedAsyncResult.cs
- ResolveNameEventArgs.cs
- StickyNoteAnnotations.cs
- PersistChildrenAttribute.cs
- OleDbRowUpdatingEvent.cs
- GrammarBuilder.cs
- BrowserTree.cs
- ListBoxItemWrapperAutomationPeer.cs
- XmlHierarchicalEnumerable.cs
- FormClosingEvent.cs
- Convert.cs
- InternalSafeNativeMethods.cs
- Directory.cs
- EndPoint.cs
- TextBoxLine.cs
- ToolBarDesigner.cs
- HandlerBase.cs
- _ListenerResponseStream.cs
- COAUTHIDENTITY.cs
- ObjectResult.cs
- ApplicationHost.cs
- ListDependantCardsRequest.cs
- SimpleHandlerFactory.cs
- StringValueSerializer.cs
- PathTooLongException.cs
- SoapEnumAttribute.cs
- SqlAliasesReferenced.cs
- XmlHierarchicalEnumerable.cs
- CrossContextChannel.cs
- RNGCryptoServiceProvider.cs
- ObjectCloneHelper.cs
- JsonReaderDelegator.cs
- RandomNumberGenerator.cs
- Range.cs
- CommandHelpers.cs
- Lookup.cs
- GroupByExpressionRewriter.cs
- LineServicesCallbacks.cs
- PagesSection.cs
- QuotedPairReader.cs
- JsonXmlDataContract.cs
- PropertyInfoSet.cs
- SemanticResolver.cs
- FormsAuthenticationUser.cs
- IgnorePropertiesAttribute.cs
- FtpCachePolicyElement.cs
- RichTextBox.cs
- UInt64Storage.cs
- ToolStripStatusLabel.cs
- ModelUIElement3D.cs
- RuntimeWrappedException.cs
- ControlParameter.cs
- AttributeData.cs
- SortQueryOperator.cs
- DrawingContextDrawingContextWalker.cs
- GrabHandleGlyph.cs
- OperationParameterInfo.cs
- DeploymentSection.cs
- DataFormats.cs
- TrackBar.cs
- _NegoState.cs
- SqlExpander.cs
- PrintPreviewDialog.cs
- MediaPlayer.cs
- ServiceOperationInvoker.cs
- OracleBFile.cs
- ContentPresenter.cs
- DatatypeImplementation.cs
- ISCIIEncoding.cs
- CodeTypeOfExpression.cs
- SymbolTable.cs
- MarkupObject.cs
- XmlSchemaAnnotation.cs
- RC2.cs