Code:
/ FX-1434 / FX-1434 / 1.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
- DesignerInterfaces.cs
- ReadOnlyDictionary.cs
- DelimitedListTraceListener.cs
- LineSegment.cs
- ShaderEffect.cs
- GCHandleCookieTable.cs
- WindowsSpinner.cs
- LinkButton.cs
- CollaborationHelperFunctions.cs
- Converter.cs
- TargetFrameworkAttribute.cs
- LinqDataSourceContextEventArgs.cs
- SafeNativeMethods.cs
- DataContractJsonSerializer.cs
- IRCollection.cs
- ColumnCollection.cs
- DeflateStream.cs
- SingleAnimationBase.cs
- ModelTreeEnumerator.cs
- VirtualPath.cs
- DivideByZeroException.cs
- SqlConnectionFactory.cs
- WhileDesigner.cs
- DayRenderEvent.cs
- XmlDataSourceNodeDescriptor.cs
- NameValueConfigurationCollection.cs
- WebHttpBindingCollectionElement.cs
- PropertyValueUIItem.cs
- AssemblyBuilder.cs
- PointValueSerializer.cs
- SocketInformation.cs
- EntityContainer.cs
- SizeAnimation.cs
- XPathExpr.cs
- CodeAttributeArgument.cs
- SqlServer2KCompatibilityCheck.cs
- CoreSwitches.cs
- XmlSchema.cs
- LongPath.cs
- EtwTrace.cs
- DocumentSchemaValidator.cs
- SystemWebCachingSectionGroup.cs
- Inline.cs
- HeaderUtility.cs
- securestring.cs
- LayoutEvent.cs
- VectorAnimationUsingKeyFrames.cs
- EncryptedXml.cs
- ProviderMetadataCachedInformation.cs
- PageSettings.cs
- ValidatorCollection.cs
- StaticTextPointer.cs
- State.cs
- MsmqIntegrationProcessProtocolHandler.cs
- HtmlFormAdapter.cs
- BooleanFacetDescriptionElement.cs
- UIElement3D.cs
- AssociativeAggregationOperator.cs
- ImageSourceConverter.cs
- TimeStampChecker.cs
- ResourceSet.cs
- XmlSchemaObject.cs
- InputDevice.cs
- OleDbDataReader.cs
- Package.cs
- UIElement.cs
- AnnotationHelper.cs
- SqlExpressionNullability.cs
- NavigateEvent.cs
- _AcceptOverlappedAsyncResult.cs
- ThreadTrace.cs
- ParsedAttributeCollection.cs
- GregorianCalendar.cs
- ParserContext.cs
- ClientScriptManager.cs
- SizeConverter.cs
- MetadataCache.cs
- DataRelationCollection.cs
- _CommandStream.cs
- OperationPerformanceCounters.cs
- DesignerCalendarAdapter.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- TouchDevice.cs
- basenumberconverter.cs
- MULTI_QI.cs
- FileNotFoundException.cs
- NavigateEvent.cs
- x509store.cs
- URLAttribute.cs
- SoapAttributes.cs
- SchemaDeclBase.cs
- StrokeCollection.cs
- ConnectionStringsExpressionBuilder.cs
- Vector3DConverter.cs
- CharAnimationUsingKeyFrames.cs
- WebPartConnection.cs
- HashAlgorithm.cs
- CounterSample.cs
- LogicalExpr.cs
- DebuggerAttributes.cs