Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Serialization / SoapAttributeOverrides.cs / 1305376 / 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.[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SoapExtensionStream.cs
- JoinSymbol.cs
- WebPartEditorCancelVerb.cs
- Int16Animation.cs
- MruCache.cs
- X509Certificate2Collection.cs
- SqlErrorCollection.cs
- TemplateNameScope.cs
- AttachedProperty.cs
- InstallerTypeAttribute.cs
- InteropAutomationProvider.cs
- LinqDataSourceContextEventArgs.cs
- PerformanceCounterManager.cs
- ProviderException.cs
- TrimSurroundingWhitespaceAttribute.cs
- DataPager.cs
- MeshGeometry3D.cs
- DesignerVerbCollection.cs
- PropertyChangingEventArgs.cs
- GridViewRowPresenter.cs
- ValidatorCollection.cs
- GeneralTransform2DTo3D.cs
- PocoPropertyAccessorStrategy.cs
- TextSearch.cs
- TextEmbeddedObject.cs
- SubpageParaClient.cs
- SafeNativeMethods.cs
- TextEndOfLine.cs
- ClosableStream.cs
- FormViewDeletedEventArgs.cs
- DataListAutoFormat.cs
- GuidTagList.cs
- CompensationParticipant.cs
- RegexWriter.cs
- TransformFinalBlockRequest.cs
- ListCommandEventArgs.cs
- ReadOnlyCollection.cs
- AssemblyBuilderData.cs
- SiblingIterators.cs
- DependsOnAttribute.cs
- Buffer.cs
- XPathSelectionIterator.cs
- FileDialog_Vista_Interop.cs
- HwndSourceParameters.cs
- PeerObject.cs
- IndexedGlyphRun.cs
- ViewBox.cs
- ConsumerConnectionPoint.cs
- CodeTypeDeclarationCollection.cs
- TdsParameterSetter.cs
- configsystem.cs
- BackStopAuthenticationModule.cs
- FontWeight.cs
- ProcessingInstructionAction.cs
- SelectorAutomationPeer.cs
- DictionaryContent.cs
- CodeExporter.cs
- ControlCachePolicy.cs
- FamilyTypefaceCollection.cs
- TextEncodedRawTextWriter.cs
- BlockUIContainer.cs
- BaseTemplatedMobileComponentEditor.cs
- ServiceNameCollection.cs
- securestring.cs
- TagMapInfo.cs
- MetadataItem_Static.cs
- Automation.cs
- configsystem.cs
- ToolboxItem.cs
- Glyph.cs
- SafeFileHandle.cs
- Context.cs
- UnsafeNativeMethods.cs
- PerspectiveCamera.cs
- CodeTypeMemberCollection.cs
- FlowPanelDesigner.cs
- CfgParser.cs
- XamlToRtfParser.cs
- unitconverter.cs
- SqlAggregateChecker.cs
- TagMapCollection.cs
- ClockGroup.cs
- AnimationException.cs
- ExpressionVisitor.cs
- Header.cs
- TextTreeUndo.cs
- SynchronizedDispatch.cs
- QuaternionKeyFrameCollection.cs
- QilExpression.cs
- ItemAutomationPeer.cs
- shaperfactoryquerycacheentry.cs
- Environment.cs
- BaseCodePageEncoding.cs
- ETagAttribute.cs
- FormsAuthenticationTicket.cs
- RichTextBox.cs
- SingletonChannelAcceptor.cs
- HandlerMappingMemo.cs
- TextBoxLine.cs
- NestPullup.cs