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
- NonNullItemCollection.cs
- RequestCachePolicy.cs
- PolygonHotSpot.cs
- Win32SafeHandles.cs
- SQLGuid.cs
- GenericTypeParameterBuilder.cs
- CallContext.cs
- HtmlElementCollection.cs
- Transform.cs
- LongValidatorAttribute.cs
- FontCacheUtil.cs
- Visual.cs
- ProfileProvider.cs
- PageBreakRecord.cs
- Viewport3DAutomationPeer.cs
- HtmlInputHidden.cs
- _ChunkParse.cs
- InfoCardProofToken.cs
- EventToken.cs
- ObjectManager.cs
- ObsoleteAttribute.cs
- EmptyEnumerator.cs
- BufferAllocator.cs
- TreeNodeCollection.cs
- Socket.cs
- DashStyle.cs
- XPathNodeIterator.cs
- SqlTriggerAttribute.cs
- HeaderElement.cs
- ObjectDataSourceMethodEditor.cs
- WriteableBitmap.cs
- ExtractedStateEntry.cs
- OracleCommand.cs
- SQLDateTimeStorage.cs
- NumericUpDownAcceleration.cs
- GridViewDeleteEventArgs.cs
- AuthenticationModuleElementCollection.cs
- SystemIPAddressInformation.cs
- WebProxyScriptElement.cs
- PermissionSetEnumerator.cs
- LongValidator.cs
- ErrorWrapper.cs
- FileSecurity.cs
- CriticalExceptions.cs
- EventDescriptor.cs
- SiteMapDataSourceView.cs
- DefaultClaimSet.cs
- DBSqlParserColumnCollection.cs
- TraceFilter.cs
- UnsafeNativeMethods.cs
- OutputCacheEntry.cs
- BaseTemplateBuildProvider.cs
- CustomAttributeBuilder.cs
- ToolStripSystemRenderer.cs
- DeflateEmulationStream.cs
- SafeCryptoHandles.cs
- _AuthenticationState.cs
- ReturnValue.cs
- HotSpot.cs
- RowParagraph.cs
- DataRelationPropertyDescriptor.cs
- WmlCommandAdapter.cs
- IteratorDescriptor.cs
- TraceRecord.cs
- AutomationProperties.cs
- XhtmlBasicLinkAdapter.cs
- WebPartEditVerb.cs
- LogEntry.cs
- FileBasedResourceGroveler.cs
- EarlyBoundInfo.cs
- KeyFrames.cs
- Int32KeyFrameCollection.cs
- FindResponse.cs
- MultiView.cs
- RetrieveVirtualItemEventArgs.cs
- UrlPath.cs
- smtppermission.cs
- EmbeddedObject.cs
- OutOfProcStateClientManager.cs
- AspProxy.cs
- ToolStripDropTargetManager.cs
- RegexWorker.cs
- Point3D.cs
- StatusStrip.cs
- EntityContainerRelationshipSetEnd.cs
- AsyncCallback.cs
- DataGridColumn.cs
- TimeStampChecker.cs
- CalendarBlackoutDatesCollection.cs
- EdmItemError.cs
- Stack.cs
- ImageButton.cs
- PropertyGridEditorPart.cs
- FontDialog.cs
- BrowserCapabilitiesFactoryBase.cs
- FilteredAttributeCollection.cs
- HtmlInputButton.cs
- SkinBuilder.cs
- CompilationLock.cs
- SystemColorTracker.cs