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
- _SslState.cs
- DrawListViewColumnHeaderEventArgs.cs
- ToolStripMenuItemDesigner.cs
- ApplicationSecurityInfo.cs
- BindingList.cs
- ListBoxItemAutomationPeer.cs
- PolicyValidationException.cs
- PrintingPermission.cs
- GeometryCollection.cs
- querybuilder.cs
- XmlSchemaExporter.cs
- DataGridColumnHeaderAutomationPeer.cs
- Latin1Encoding.cs
- TextTreePropertyUndoUnit.cs
- EntityViewGenerator.cs
- ZipIOLocalFileHeader.cs
- SmiContextFactory.cs
- GenericUriParser.cs
- WebResponse.cs
- LocatorGroup.cs
- DnsEndPoint.cs
- AnimationStorage.cs
- InfoCardHelper.cs
- ExpressionWriter.cs
- StreamUpgradeAcceptor.cs
- VirtualPathProvider.cs
- RangeBase.cs
- DesignerTransactionCloseEvent.cs
- InlinedAggregationOperator.cs
- Int16Converter.cs
- RectangleF.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- SoapFormatExtensions.cs
- XmlReader.cs
- SHA1.cs
- ModelPropertyCollectionImpl.cs
- WindowShowOrOpenTracker.cs
- SubMenuStyle.cs
- SqlFileStream.cs
- ConfigsHelper.cs
- OptionalColumn.cs
- _IPv4Address.cs
- DbCommandTree.cs
- TypeUtils.cs
- ObjectStateManager.cs
- CharacterMetrics.cs
- ClassicBorderDecorator.cs
- KnownTypeDataContractResolver.cs
- CharEnumerator.cs
- SetterBase.cs
- NTAccount.cs
- ToolStripItemClickedEventArgs.cs
- MeasureData.cs
- ConfigurationSectionGroup.cs
- LicenseProviderAttribute.cs
- UnmanagedMemoryStream.cs
- CipherData.cs
- util.cs
- PlaceHolder.cs
- BitmapDownload.cs
- BitmapEffectInputData.cs
- EditorZone.cs
- ParsedAttributeCollection.cs
- OdbcEnvironmentHandle.cs
- HelloMessageApril2005.cs
- SqlDataReaderSmi.cs
- SqlNode.cs
- UnitControl.cs
- mediapermission.cs
- GeometryHitTestParameters.cs
- MetaColumn.cs
- LambdaCompiler.Unary.cs
- ConfigurationSection.cs
- AutoCompleteStringCollection.cs
- TypeBuilderInstantiation.cs
- remotingproxy.cs
- Exceptions.cs
- CategoryNameCollection.cs
- IntSecurity.cs
- FrameworkObject.cs
- TextParagraphProperties.cs
- HttpRuntimeSection.cs
- TraversalRequest.cs
- sqlmetadatafactory.cs
- EntityDataSourceWrapper.cs
- ADMembershipUser.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- BufferCache.cs
- InkCanvasInnerCanvas.cs
- CustomErrorCollection.cs
- ReferentialConstraint.cs
- ServerIdentity.cs
- UInt16Converter.cs
- DictionarySurrogate.cs
- HtmlWindow.cs
- PKCS1MaskGenerationMethod.cs
- InputReferenceExpression.cs
- SchemaEntity.cs
- SafeIUnknown.cs
- SpellerHighlightLayer.cs