Code:
/ FX-1434 / FX-1434 / 1.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
- ExpressionNormalizer.cs
- DataGridViewRowEventArgs.cs
- MethodExpr.cs
- RadioButton.cs
- PropertyKey.cs
- DbTransaction.cs
- OwnerDrawPropertyBag.cs
- DbTransaction.cs
- DecoderNLS.cs
- WindowsIdentity.cs
- CommonRemoteMemoryBlock.cs
- ImageCodecInfoPrivate.cs
- FixedSOMPageConstructor.cs
- ComboBox.cs
- DictionaryGlobals.cs
- ResponseStream.cs
- FlowDocument.cs
- PackagePart.cs
- Convert.cs
- _Events.cs
- categoryentry.cs
- ExpressionConverter.cs
- ReturnValue.cs
- PTConverter.cs
- PenLineCapValidation.cs
- WebPartMinimizeVerb.cs
- GetParentChain.cs
- SmiRequestExecutor.cs
- Avt.cs
- IFormattable.cs
- ComponentFactoryHelpers.cs
- SourceFilter.cs
- XhtmlBasicValidatorAdapter.cs
- CompositeKey.cs
- ObjectViewEntityCollectionData.cs
- Symbol.cs
- InputManager.cs
- CompositeTypefaceMetrics.cs
- Preprocessor.cs
- ObsoleteAttribute.cs
- XsltCompileContext.cs
- CommonObjectSecurity.cs
- TokenBasedSet.cs
- OperatingSystem.cs
- RawTextInputReport.cs
- Literal.cs
- CodeCommentStatement.cs
- DllNotFoundException.cs
- SQLInt64.cs
- Composition.cs
- XmlAttributeAttribute.cs
- XmlDigitalSignatureProcessor.cs
- SessionParameter.cs
- DataGridViewImageCell.cs
- PauseStoryboard.cs
- VisualTarget.cs
- EventLogger.cs
- WaitForChangedResult.cs
- cache.cs
- PeerPresenceInfo.cs
- VisualTreeFlattener.cs
- XmlObjectSerializerContext.cs
- PrinterSettings.cs
- LogLogRecord.cs
- PreviewKeyDownEventArgs.cs
- BamlLocalizabilityResolver.cs
- ConnectionManagementSection.cs
- ExpressionPrefixAttribute.cs
- OrthographicCamera.cs
- HashCodeCombiner.cs
- RowToFieldTransformer.cs
- WindowsStatusBar.cs
- DispatcherExceptionFilterEventArgs.cs
- RelationshipConverter.cs
- EnlistmentTraceIdentifier.cs
- XmlStreamStore.cs
- DataControlCommands.cs
- OleDbRowUpdatedEvent.cs
- CheckBoxStandardAdapter.cs
- RestClientProxyHandler.cs
- ByteStreamMessage.cs
- Int32Rect.cs
- DataGridViewDataErrorEventArgs.cs
- DigestComparer.cs
- EntityDataSourceConfigureObjectContext.cs
- InputMethod.cs
- HtmlInputButton.cs
- Scripts.cs
- ConfigurationCollectionAttribute.cs
- StorageRoot.cs
- URLIdentityPermission.cs
- PropertyTabChangedEvent.cs
- ArrangedElementCollection.cs
- Semaphore.cs
- Renderer.cs
- safelinkcollection.cs
- ColorAnimationUsingKeyFrames.cs
- Stackframe.cs
- EntityDataSourceStatementEditor.cs
- ApplicationSecurityInfo.cs