Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / Serialization / SoapAttributeOverrides.cs / 1 / SoapAttributeOverrides.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Serialization { using System.Reflection; using System.Collections; using System.IO; using System.Xml.Schema; using System; using System.ComponentModel; ////// /// public class SoapAttributeOverrides { Hashtable types = new Hashtable(); ///[To be supplied.] ////// /// public void Add(Type type, SoapAttributes attributes) { Add(type, string.Empty, attributes); } ///[To be supplied.] ////// /// public void Add(Type type, string member, SoapAttributes attributes) { Hashtable members = (Hashtable)types[type]; if (members == null) { members = new Hashtable(); types.Add(type, members); } else if (members[member] != null) { throw new InvalidOperationException(Res.GetString(Res.XmlMultipleAttributeOverrides, type.FullName, member)); } members.Add(member, attributes); } ///[To be supplied.] ////// /// public SoapAttributes this[Type type] { get { return this[type, string.Empty]; } } ///[To be supplied.] ////// /// public SoapAttributes this[Type type, string member] { get { Hashtable members = (Hashtable)types[type]; if (members == null) return null; return (SoapAttributes)members[member]; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TransformedBitmap.cs
- BitmapEffectInput.cs
- ADMembershipProvider.cs
- CodeTryCatchFinallyStatement.cs
- VirtualDirectoryMapping.cs
- BaseTreeIterator.cs
- UIElement.cs
- KeyGesture.cs
- DataPagerCommandEventArgs.cs
- FormViewInsertEventArgs.cs
- XmlNavigatorStack.cs
- IFlowDocumentViewer.cs
- ResourceContainerWrapper.cs
- PriorityBinding.cs
- BitmapScalingModeValidation.cs
- CompilerCollection.cs
- METAHEADER.cs
- HelpEvent.cs
- BaseTemplateBuildProvider.cs
- DiscoveryDocumentSerializer.cs
- Model3DCollection.cs
- ExtentCqlBlock.cs
- SourceLineInfo.cs
- CompositeActivityCodeGenerator.cs
- HttpResponse.cs
- DictionaryKeyPropertyAttribute.cs
- SocketInformation.cs
- ComponentCache.cs
- ErrorInfoXmlDocument.cs
- AutomationTextAttribute.cs
- OracleRowUpdatingEventArgs.cs
- ClaimComparer.cs
- CaseStatementSlot.cs
- SqlUDTStorage.cs
- CodeEventReferenceExpression.cs
- CheckBox.cs
- TTSEngineProxy.cs
- Helper.cs
- _NetworkingPerfCounters.cs
- EllipseGeometry.cs
- CustomSignedXml.cs
- FlowDocumentView.cs
- SectionUpdates.cs
- AppDomainInfo.cs
- AsmxEndpointPickerExtension.cs
- DBParameter.cs
- GifBitmapEncoder.cs
- JsonDeserializer.cs
- WebHttpDispatchOperationSelector.cs
- ReaderWriterLockWrapper.cs
- DataGridViewCheckBoxColumn.cs
- ICspAsymmetricAlgorithm.cs
- FilePresentation.cs
- DefaultValueConverter.cs
- HttpCachePolicy.cs
- MutableAssemblyCacheEntry.cs
- LoginName.cs
- NavigationPropertyEmitter.cs
- FixedSOMFixedBlock.cs
- XmlCDATASection.cs
- _CookieModule.cs
- Number.cs
- CultureInfoConverter.cs
- LOSFormatter.cs
- GrabHandleGlyph.cs
- Tokenizer.cs
- TextHidden.cs
- RemoteWebConfigurationHost.cs
- BinaryObjectInfo.cs
- TextTreeExtractElementUndoUnit.cs
- Logging.cs
- GenerateScriptTypeAttribute.cs
- WebPartVerbsEventArgs.cs
- Substitution.cs
- XmlObjectSerializerReadContextComplex.cs
- ContentControl.cs
- OptimizedTemplateContent.cs
- ListViewItem.cs
- ClientUtils.cs
- DataSetUtil.cs
- EventPropertyMap.cs
- Ops.cs
- SQLMoney.cs
- QueryCoreOp.cs
- BypassElementCollection.cs
- WS2007HttpBindingElement.cs
- TextBounds.cs
- uribuilder.cs
- SchemaCollectionPreprocessor.cs
- IPEndPoint.cs
- AnonymousIdentificationModule.cs
- FontClient.cs
- SqlClientFactory.cs
- SubstitutionDesigner.cs
- IndexedString.cs
- DataControlField.cs
- processwaithandle.cs
- DescendentsWalkerBase.cs
- JsonDataContract.cs
- EditorBrowsableAttribute.cs