Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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
- SpellerHighlightLayer.cs
- XmlSchemaValidator.cs
- TypeToken.cs
- SecurityUtils.cs
- PriorityItem.cs
- AlphabetConverter.cs
- WsatConfiguration.cs
- Rect.cs
- LinkedResource.cs
- UndirectedGraph.cs
- CryptoApi.cs
- ExpandSegmentCollection.cs
- ColorContext.cs
- TemplateBindingExpressionConverter.cs
- OleDbConnection.cs
- Pkcs7Signer.cs
- Repeater.cs
- XmlAttribute.cs
- RawStylusInputCustomData.cs
- _Connection.cs
- XMLSyntaxException.cs
- DbConnectionPoolCounters.cs
- AttributeCallbackBuilder.cs
- HttpProcessUtility.cs
- WebPartConnectionsEventArgs.cs
- AsyncOperationContext.cs
- AdapterUtil.cs
- ActivationServices.cs
- CacheMemory.cs
- ReadOnlyCollectionBuilder.cs
- ComponentEditorPage.cs
- SourceFilter.cs
- IpcManager.cs
- TextParentUndoUnit.cs
- ThreadExceptionDialog.cs
- IndicFontClient.cs
- DbLambda.cs
- TextServicesProperty.cs
- IntSecurity.cs
- ColorBlend.cs
- WebPartConnectionCollection.cs
- UnicodeEncoding.cs
- EllipticalNodeOperations.cs
- CurrentChangedEventManager.cs
- StringWriter.cs
- UnsafeNativeMethodsMilCoreApi.cs
- TemplatedWizardStep.cs
- DataGridCell.cs
- SQLBinaryStorage.cs
- InProcStateClientManager.cs
- MimeParameter.cs
- PropertyGeneratedEventArgs.cs
- UpdateTracker.cs
- GeneralTransformCollection.cs
- NetMsmqSecurity.cs
- WmlValidatorAdapter.cs
- Monitor.cs
- DoubleLinkListEnumerator.cs
- HttpVersion.cs
- SortKey.cs
- EnvelopedSignatureTransform.cs
- JournalEntryStack.cs
- Process.cs
- ComponentEvent.cs
- DownloadProgressEventArgs.cs
- RegexParser.cs
- DataColumnCollection.cs
- VarRemapper.cs
- LineServices.cs
- DatagridviewDisplayedBandsData.cs
- HuffmanTree.cs
- ImageAttributes.cs
- ValidationPropertyAttribute.cs
- OleDbInfoMessageEvent.cs
- WebPartCloseVerb.cs
- Visual3DCollection.cs
- ViewBase.cs
- PageCatalogPart.cs
- DataRelationCollection.cs
- MimePart.cs
- WebPartHelpVerb.cs
- ToolboxCategory.cs
- Operand.cs
- RadioButton.cs
- QueryExtender.cs
- WorkflowApplicationEventArgs.cs
- ToolStripScrollButton.cs
- WindowsGraphicsCacheManager.cs
- AngleUtil.cs
- DetailsViewInsertedEventArgs.cs
- DataView.cs
- ScriptComponentDescriptor.cs
- AlternateViewCollection.cs
- smtppermission.cs
- HtmlElementEventArgs.cs
- loginstatus.cs
- _AutoWebProxyScriptHelper.cs
- ModifierKeysValueSerializer.cs
- ComponentRenameEvent.cs
- MarkupCompilePass2.cs