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
- DependencyProperty.cs
- Vector.cs
- PageRequestManager.cs
- CancellationHandler.cs
- SizeF.cs
- PathGeometry.cs
- SuppressMessageAttribute.cs
- CodeAccessPermission.cs
- Parameter.cs
- Pkcs7Recipient.cs
- Popup.cs
- AdPostCacheSubstitution.cs
- RequestNavigateEventArgs.cs
- SmtpFailedRecipientException.cs
- Pair.cs
- FontSource.cs
- UndirectedGraph.cs
- RegexMatch.cs
- XmlElementAttribute.cs
- DoubleStorage.cs
- ListView.cs
- ScrollItemPatternIdentifiers.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- SecurityElement.cs
- MinMaxParagraphWidth.cs
- _UriSyntax.cs
- PermissionRequestEvidence.cs
- PointCollection.cs
- cookiecollection.cs
- FileDialogPermission.cs
- TextRange.cs
- SecurityDocument.cs
- AnimationTimeline.cs
- JournalNavigationScope.cs
- ComplusTypeValidator.cs
- DataGridViewCellEventArgs.cs
- RewritingValidator.cs
- CompleteWizardStep.cs
- Win32KeyboardDevice.cs
- LightweightEntityWrapper.cs
- MetadataArtifactLoader.cs
- XNodeNavigator.cs
- InteropTrackingRecord.cs
- EmptyEnumerator.cs
- Mappings.cs
- EdmSchemaAttribute.cs
- SecurityTokenSpecification.cs
- EntitySqlQueryCacheEntry.cs
- HtmlInputReset.cs
- Oid.cs
- XamlStyleSerializer.cs
- StringCollection.cs
- ConstructorArgumentAttribute.cs
- TemplateControlParser.cs
- WebPartConnectionsEventArgs.cs
- DesignerActionMethodItem.cs
- PropertyBuilder.cs
- DecimalAnimationUsingKeyFrames.cs
- RegistrySecurity.cs
- Operator.cs
- SystemGatewayIPAddressInformation.cs
- WindowsStatusBar.cs
- ExpandedWrapper.cs
- ServerIdentity.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- IndentedWriter.cs
- TypeLoadException.cs
- PageAsyncTask.cs
- ChannelServices.cs
- String.cs
- XmlNamespaceMapping.cs
- CaseInsensitiveHashCodeProvider.cs
- AdapterUtil.cs
- XmlSchemaValidationException.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- DoneReceivingAsyncResult.cs
- ViewLoader.cs
- SystemFonts.cs
- Logging.cs
- SendSecurityHeader.cs
- ResourceManager.cs
- HeaderCollection.cs
- PublishLicense.cs
- SafeProcessHandle.cs
- UrlPath.cs
- AlphabeticalEnumConverter.cs
- CommandBindingCollection.cs
- GridViewSelectEventArgs.cs
- SerializableReadOnlyDictionary.cs
- wmiprovider.cs
- QueryOptionExpression.cs
- ScrollBar.cs
- GridErrorDlg.cs
- ResXResourceWriter.cs
- ExtendedPropertyCollection.cs
- CompoundFileIOPermission.cs
- GetWorkflowTree.cs
- RequestCacheValidator.cs
- BlurEffect.cs
- CqlErrorHelper.cs