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
- AssociatedControlConverter.cs
- SecurityPolicySection.cs
- TypeDescriptionProviderAttribute.cs
- HttpHandlerActionCollection.cs
- ComponentResourceManager.cs
- SqlProviderManifest.cs
- DocumentViewerBase.cs
- ReadWriteSpinLock.cs
- serverconfig.cs
- DataGridViewTextBoxColumn.cs
- BamlStream.cs
- Currency.cs
- SimplePropertyEntry.cs
- PersianCalendar.cs
- SchemaMapping.cs
- ToolStripScrollButton.cs
- ImageProxy.cs
- IResourceProvider.cs
- Int32EqualityComparer.cs
- TextRunCacheImp.cs
- SQLBoolean.cs
- CodeDirectiveCollection.cs
- GradientBrush.cs
- _DisconnectOverlappedAsyncResult.cs
- ConfigXmlReader.cs
- OpenTypeLayoutCache.cs
- HierarchicalDataBoundControlAdapter.cs
- SqlProviderManifest.cs
- XmlSchemaRedefine.cs
- XPathAncestorIterator.cs
- ThemeDirectoryCompiler.cs
- ComponentCollection.cs
- MemberCollection.cs
- ResolvedKeyFrameEntry.cs
- FileNameEditor.cs
- JavaScriptObjectDeserializer.cs
- CursorConverter.cs
- Point4DConverter.cs
- ResourcePart.cs
- basecomparevalidator.cs
- ValueProviderWrapper.cs
- TextBoxRenderer.cs
- SafeNativeMethods.cs
- PathFigure.cs
- COM2EnumConverter.cs
- MessageAction.cs
- SignedXml.cs
- IconBitmapDecoder.cs
- IIS7WorkerRequest.cs
- ToggleButtonAutomationPeer.cs
- IListConverters.cs
- SectionVisual.cs
- ReflectionTypeLoadException.cs
- SafeNativeMethodsMilCoreApi.cs
- ReadOnlyDictionary.cs
- ReaderWriterLockSlim.cs
- SqlRowUpdatedEvent.cs
- XmlChoiceIdentifierAttribute.cs
- Registration.cs
- DashStyles.cs
- PrivateFontCollection.cs
- ControlCachePolicy.cs
- DataGridRowAutomationPeer.cs
- RegisteredExpandoAttribute.cs
- ResourceExpressionBuilder.cs
- MenuCommandService.cs
- KeySplineConverter.cs
- COM2ExtendedBrowsingHandler.cs
- PagerSettings.cs
- AuthenticateEventArgs.cs
- BooleanAnimationUsingKeyFrames.cs
- RoleManagerModule.cs
- CheckBoxFlatAdapter.cs
- HostProtectionPermission.cs
- CompleteWizardStep.cs
- Query.cs
- MembershipSection.cs
- SoapObjectReader.cs
- PointCollectionConverter.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- XsltContext.cs
- BlobPersonalizationState.cs
- LicenseManager.cs
- ZipIOCentralDirectoryBlock.cs
- WizardForm.cs
- AudioFormatConverter.cs
- HtmlInputFile.cs
- TypeUtils.cs
- CellTreeNode.cs
- Listbox.cs
- AccessControlList.cs
- ListControl.cs
- SchemaComplexType.cs
- IImplicitResourceProvider.cs
- UpdateTranslator.cs
- sqlstateclientmanager.cs
- Html32TextWriter.cs
- OracleConnectionFactory.cs
- DocumentReference.cs
- HttpDigestClientElement.cs