Code:
/ DotNET / DotNET / 8.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
- DbSource.cs
- XmlElement.cs
- NullableConverter.cs
- ContextBase.cs
- TemplateContainer.cs
- RuleSettingsCollection.cs
- VSWCFServiceContractGenerator.cs
- InstanceData.cs
- MD5.cs
- DropShadowEffect.cs
- TranslateTransform3D.cs
- Command.cs
- PerfCounterSection.cs
- LinkClickEvent.cs
- InputBinding.cs
- StringSorter.cs
- HttpProfileGroupBase.cs
- GridViewSortEventArgs.cs
- FontFamily.cs
- TriggerAction.cs
- DynamicQueryStringParameter.cs
- ResourceBinder.cs
- RuleInfoComparer.cs
- RichTextBox.cs
- ScrollContentPresenter.cs
- XmlIterators.cs
- AssemblyNameProxy.cs
- FileFormatException.cs
- PerfCounters.cs
- ConsoleTraceListener.cs
- rsa.cs
- ParseChildrenAsPropertiesAttribute.cs
- ToolStripRenderer.cs
- HwndHostAutomationPeer.cs
- DockPattern.cs
- OleDbParameter.cs
- DataRowView.cs
- UsernameTokenFactoryCredential.cs
- SqlClientWrapperSmiStreamChars.cs
- CompilerGlobalScopeAttribute.cs
- ObjectNavigationPropertyMapping.cs
- _PooledStream.cs
- DropShadowEffect.cs
- EncryptedPackage.cs
- AtomPub10CategoriesDocumentFormatter.cs
- DrawingGroup.cs
- ProvideValueServiceProvider.cs
- CrossAppDomainChannel.cs
- SqlStream.cs
- TextEvent.cs
- SiteMapProvider.cs
- PowerStatus.cs
- TableItemProviderWrapper.cs
- DataGridViewRowCollection.cs
- WpfKnownType.cs
- CommandDevice.cs
- TraceRecords.cs
- Hex.cs
- TemplateControlCodeDomTreeGenerator.cs
- ControlParameter.cs
- RegisteredScript.cs
- SemaphoreFullException.cs
- WindowsIPAddress.cs
- StringValidatorAttribute.cs
- CharConverter.cs
- ConfigurationFileMap.cs
- RegexGroup.cs
- XPathException.cs
- PolicyValidationException.cs
- Version.cs
- Win32MouseDevice.cs
- QilDataSource.cs
- MultipartContentParser.cs
- EdmComplexPropertyAttribute.cs
- LinkTarget.cs
- Slider.cs
- SendMailErrorEventArgs.cs
- Int16.cs
- Frame.cs
- WebConfigurationHostFileChange.cs
- WindowShowOrOpenTracker.cs
- XmlSchemaObjectTable.cs
- DefaultTraceListener.cs
- Container.cs
- ExpressionNode.cs
- DeviceContexts.cs
- CorePropertiesFilter.cs
- BeginSelectCardRequest.cs
- TextEffect.cs
- HierarchicalDataSourceDesigner.cs
- DynamicRendererThreadManager.cs
- BitmapScalingModeValidation.cs
- Registry.cs
- CacheRequest.cs
- ConfigXmlElement.cs
- VisualCollection.cs
- GeometryGroup.cs
- RelationshipEntry.cs
- DataGridViewImageColumn.cs
- AccessControlList.cs