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
- PropertyEmitterBase.cs
- DriveNotFoundException.cs
- CustomWebEventKey.cs
- CompilerHelpers.cs
- XamlGridLengthSerializer.cs
- ProfileProvider.cs
- dbenumerator.cs
- SmiEventSink_DeferedProcessing.cs
- OciHandle.cs
- HierarchicalDataSourceConverter.cs
- AccessKeyManager.cs
- PointAnimationUsingKeyFrames.cs
- EncryptedKeyHashIdentifierClause.cs
- WindowInteropHelper.cs
- DiagnosticStrings.cs
- NullRuntimeConfig.cs
- XsdDateTime.cs
- ArraySegment.cs
- CollectionBase.cs
- RadialGradientBrush.cs
- VisualBasicExpressionConverter.cs
- InternalConfigHost.cs
- control.ime.cs
- RadioButtonDesigner.cs
- EnvelopedPkcs7.cs
- ContextStaticAttribute.cs
- BufferBuilder.cs
- ChildDocumentBlock.cs
- SetterBase.cs
- VirtualPathUtility.cs
- DesignerProperties.cs
- SystemNetHelpers.cs
- FixedSOMTableCell.cs
- GeneralTransform3DTo2DTo3D.cs
- SafeHandle.cs
- AdornerHitTestResult.cs
- DataControlLinkButton.cs
- SelectedCellsChangedEventArgs.cs
- CacheModeConverter.cs
- BinaryFormatter.cs
- UInt32Converter.cs
- HotSpotCollection.cs
- DesignerEventService.cs
- DbFunctionCommandTree.cs
- StringConcat.cs
- ReadOnlyPropertyMetadata.cs
- TcpTransportBindingElement.cs
- HttpContext.cs
- ADMembershipUser.cs
- SoapSchemaImporter.cs
- TCEAdapterGenerator.cs
- codemethodreferenceexpression.cs
- XmlTypeMapping.cs
- SqlUtil.cs
- DataView.cs
- ModuleBuilderData.cs
- ObjectDataSourceSelectingEventArgs.cs
- OdbcConnectionString.cs
- ControlEvent.cs
- OracleRowUpdatingEventArgs.cs
- DynamicPropertyHolder.cs
- NavigationPropertyEmitter.cs
- BindingContext.cs
- TemplateBuilder.cs
- SystemIPv6InterfaceProperties.cs
- ErrorFormatterPage.cs
- SqlConnectionStringBuilder.cs
- TreeBuilder.cs
- TagMapCollection.cs
- SystemFonts.cs
- DataBoundControlAdapter.cs
- UnsafeNativeMethods.cs
- VarRemapper.cs
- ItemsPanelTemplate.cs
- FunctionGenerator.cs
- AutomationPropertyInfo.cs
- DragDrop.cs
- DiagnosticTraceRecords.cs
- ResourceAssociationType.cs
- DataKey.cs
- TimeSpanOrInfiniteConverter.cs
- CLSCompliantAttribute.cs
- BaseTemplateCodeDomTreeGenerator.cs
- RuleProcessor.cs
- SqlParameterCollection.cs
- SQLDouble.cs
- AmbientLight.cs
- DesignerAutoFormatStyle.cs
- ForAllOperator.cs
- RowType.cs
- EdmError.cs
- ByteStreamMessageUtility.cs
- SafeLocalMemHandle.cs
- DelegatingHeader.cs
- ColorContextHelper.cs
- Point3DCollectionValueSerializer.cs
- UnmanagedMemoryStreamWrapper.cs
- UnaryOperationBinder.cs
- ConnectionPoint.cs
- LineMetrics.cs