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
- TcpServerChannel.cs
- TextWriterTraceListener.cs
- NavigationExpr.cs
- BindingMAnagerBase.cs
- SystemIcmpV4Statistics.cs
- FixedTextBuilder.cs
- MappingException.cs
- SymbolUsageManager.cs
- ModelTreeEnumerator.cs
- ProvideValueServiceProvider.cs
- ReadOnlyCollection.cs
- MouseActionConverter.cs
- PathFigureCollection.cs
- ControlTemplate.cs
- CuspData.cs
- ColumnCollection.cs
- SQLChars.cs
- TabControl.cs
- WmlObjectListAdapter.cs
- SynchronizingStream.cs
- CodeObject.cs
- TemplateBindingExpressionConverter.cs
- Rect3DConverter.cs
- IndexOutOfRangeException.cs
- SmiContext.cs
- PassportAuthentication.cs
- ControlUtil.cs
- PointUtil.cs
- XmlSchemaExporter.cs
- IPPacketInformation.cs
- VerticalAlignConverter.cs
- VarRefManager.cs
- CatalogZoneAutoFormat.cs
- FullTextLine.cs
- XPathArrayIterator.cs
- SafeNativeMethods.cs
- NullableDecimalMinMaxAggregationOperator.cs
- DirectoryNotFoundException.cs
- RadioButtonRenderer.cs
- XmlParser.cs
- AssemblyBuilderData.cs
- RegexNode.cs
- NumberFormatter.cs
- Assert.cs
- ProfilePropertySettings.cs
- AnnotationHelper.cs
- Missing.cs
- MsmqMessage.cs
- SchemaTableOptionalColumn.cs
- OracleDataReader.cs
- QueryAsyncResult.cs
- ConfigurationManagerInternalFactory.cs
- HttpModuleActionCollection.cs
- SmiEventSink_Default.cs
- DesignBindingValueUIHandler.cs
- DetailsViewInsertEventArgs.cs
- Size.cs
- WebConvert.cs
- WebPartDisplayModeCancelEventArgs.cs
- PropertyItemInternal.cs
- XmlSchemaAttributeGroup.cs
- ConfigXmlWhitespace.cs
- StyleSheetDesigner.cs
- UnhandledExceptionEventArgs.cs
- RelationshipConstraintValidator.cs
- ToolStripControlHost.cs
- TargetException.cs
- ComponentChangedEvent.cs
- HttpSysSettings.cs
- ByteBufferPool.cs
- LinqDataSourceView.cs
- DirectoryNotFoundException.cs
- HitTestParameters3D.cs
- GuidelineCollection.cs
- MarshalDirectiveException.cs
- XmlSerializerSection.cs
- MutexSecurity.cs
- InputScope.cs
- SqlCacheDependency.cs
- InputBuffer.cs
- StylusPointPropertyId.cs
- HierarchicalDataTemplate.cs
- TextParagraphCache.cs
- FormatterServices.cs
- BitmapSizeOptions.cs
- ColorContext.cs
- BitSet.cs
- NativeMethodsOther.cs
- Scene3D.cs
- ApplicationSecurityManager.cs
- UIElementIsland.cs
- RepeaterCommandEventArgs.cs
- ArgumentException.cs
- MethodBuilderInstantiation.cs
- HandledEventArgs.cs
- DefaultProxySection.cs
- AccessibleObject.cs
- GridViewRowEventArgs.cs
- EntryPointNotFoundException.cs
- CallbackHandler.cs