Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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
- ActivitySurrogate.cs
- PropertyReferenceExtension.cs
- DatagridviewDisplayedBandsData.cs
- ShapingWorkspace.cs
- BuildProvidersCompiler.cs
- StorageScalarPropertyMapping.cs
- _SingleItemRequestCache.cs
- PkcsMisc.cs
- CommandTreeTypeHelper.cs
- X509Certificate.cs
- rsa.cs
- DBConcurrencyException.cs
- DirectoryInfo.cs
- ListDictionary.cs
- AttachedPropertyMethodSelector.cs
- MetadataImporter.cs
- SHA1Managed.cs
- PropertyDescriptorCollection.cs
- X509Chain.cs
- ListControl.cs
- SQLInt32.cs
- SemaphoreSecurity.cs
- ObjectSecurity.cs
- TcpActivation.cs
- ChangesetResponse.cs
- DataRelationCollection.cs
- TitleStyle.cs
- PackageRelationshipSelector.cs
- Int32CollectionConverter.cs
- SoapSchemaMember.cs
- SqlBuffer.cs
- RolePrincipal.cs
- Point3DConverter.cs
- RegexRunner.cs
- GridEntry.cs
- CompileLiteralTextParser.cs
- QueryStringParameter.cs
- AuthenticationModuleElementCollection.cs
- BlurEffect.cs
- XmlSchemaImport.cs
- EntityCommandDefinition.cs
- UserPersonalizationStateInfo.cs
- WorkflowNamespace.cs
- Graphics.cs
- XmlReflectionImporter.cs
- InvalidPrinterException.cs
- WebPartEventArgs.cs
- PathNode.cs
- DateTimeAutomationPeer.cs
- BitmapEffectGroup.cs
- ComponentChangedEvent.cs
- EditCommandColumn.cs
- SourceInterpreter.cs
- RemotingException.cs
- DataGridRowHeaderAutomationPeer.cs
- WebPartPersonalization.cs
- Rotation3D.cs
- IChannel.cs
- DataGridViewCellCancelEventArgs.cs
- QilDataSource.cs
- MenuCommand.cs
- _emptywebproxy.cs
- ObjectSet.cs
- TransformDescriptor.cs
- TagNameToTypeMapper.cs
- TypeElement.cs
- DynamicRendererThreadManager.cs
- DataGridViewDataErrorEventArgs.cs
- DetailsViewUpdateEventArgs.cs
- RectAnimationBase.cs
- MsmqIntegrationOutputChannel.cs
- DataObjectSettingDataEventArgs.cs
- HtmlTextArea.cs
- IISUnsafeMethods.cs
- DataSourceHelper.cs
- _RequestCacheProtocol.cs
- AppDomainShutdownMonitor.cs
- ReverseComparer.cs
- InfoCardSymmetricCrypto.cs
- DocumentPaginator.cs
- OleDbError.cs
- DrawingGroup.cs
- XmlUtf8RawTextWriter.cs
- ListBindingHelper.cs
- ContainerVisual.cs
- PrintDocument.cs
- TreeView.cs
- SelectionGlyphBase.cs
- RepeatBehavior.cs
- XPathNodeList.cs
- Polyline.cs
- DefaultMemberAttribute.cs
- ManagementScope.cs
- LinearKeyFrames.cs
- TreeViewEvent.cs
- SendActivityEventArgs.cs
- SiteMapDataSource.cs
- ScriptMethodAttribute.cs
- Activator.cs
- WindowsGrip.cs