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
- MsmqBindingBase.cs
- MonikerBuilder.cs
- sortedlist.cs
- Vector.cs
- ExtensionDataObject.cs
- ConnectionPoint.cs
- DataColumnChangeEvent.cs
- EncryptedType.cs
- FileDataSourceCache.cs
- PointCollection.cs
- NavigationFailedEventArgs.cs
- WasNotInstalledException.cs
- HtmlForm.cs
- Size3D.cs
- CollectionViewSource.cs
- DataFieldEditor.cs
- VScrollBar.cs
- CustomAttributeSerializer.cs
- DigitShape.cs
- DispatcherHookEventArgs.cs
- CodeMemberMethod.cs
- ResourcesGenerator.cs
- SafeMarshalContext.cs
- Panel.cs
- DataGridViewComponentPropertyGridSite.cs
- PageRanges.cs
- SafePipeHandle.cs
- X509RawDataKeyIdentifierClause.cs
- Environment.cs
- Base64Encoder.cs
- RenamedEventArgs.cs
- WinEventTracker.cs
- IImplicitResourceProvider.cs
- EncoderExceptionFallback.cs
- SchemaSetCompiler.cs
- SizeChangedInfo.cs
- Rfc4050KeyFormatter.cs
- PointUtil.cs
- Configuration.cs
- DateTimeValueSerializerContext.cs
- ParameterCollection.cs
- ImpersonateTokenRef.cs
- MouseActionValueSerializer.cs
- ReachSerializationCacheItems.cs
- TaskHelper.cs
- XamlStyleSerializer.cs
- ContextMenuStrip.cs
- XPathScanner.cs
- InlinedAggregationOperator.cs
- SystemNetHelpers.cs
- Convert.cs
- TraceSection.cs
- IconHelper.cs
- XmlAttributeCollection.cs
- AmbientLight.cs
- SrgsGrammar.cs
- WebRequest.cs
- SplineKeyFrames.cs
- ReaderContextStackData.cs
- NativeMethods.cs
- BindingExpressionBase.cs
- ClientConfigurationHost.cs
- HttpApplication.cs
- FreezableCollection.cs
- WindowsPrincipal.cs
- GridViewPageEventArgs.cs
- RsaKeyIdentifierClause.cs
- sqlinternaltransaction.cs
- XmlUrlResolver.cs
- DatePickerAutomationPeer.cs
- HtmlInputCheckBox.cs
- StandardTransformFactory.cs
- BinaryFormatter.cs
- SiblingIterators.cs
- ToolStripMenuItem.cs
- BookmarkTable.cs
- MenuItemBinding.cs
- MultiSelectRootGridEntry.cs
- ToolStripOverflow.cs
- TransformCryptoHandle.cs
- DoubleLinkList.cs
- IdentityNotMappedException.cs
- ProcessInfo.cs
- CompilationRelaxations.cs
- TreeNodeStyleCollection.cs
- Interlocked.cs
- TemplateComponentConnector.cs
- SimpleHandlerFactory.cs
- SqlTransaction.cs
- ComponentEditorPage.cs
- DateTime.cs
- CodeTypeParameterCollection.cs
- TemplatedWizardStep.cs
- If.cs
- XmlNamespaceMappingCollection.cs
- NetworkInformationPermission.cs
- TextTreeUndoUnit.cs
- WebMessageEncodingBindingElement.cs
- XPathScanner.cs
- DynamicRenderer.cs