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
- ParserOptions.cs
- XmlSchemaSequence.cs
- StreamingContext.cs
- TextServicesDisplayAttributePropertyRanges.cs
- UIElementCollection.cs
- HtmlControl.cs
- XmlSerializerNamespaces.cs
- Command.cs
- ColumnResizeAdorner.cs
- XmlSchemaAttribute.cs
- RawStylusInput.cs
- XmlSchemaComplexType.cs
- SqlDataSource.cs
- SafeNativeMethods.cs
- LogPolicy.cs
- BinaryObjectInfo.cs
- IPGlobalProperties.cs
- formatter.cs
- UnsafeNativeMethods.cs
- NamespaceDecl.cs
- RowSpanVector.cs
- OlePropertyStructs.cs
- SettingsProperty.cs
- CmsInterop.cs
- PerformanceCounterNameAttribute.cs
- PerformanceCounterTraceRecord.cs
- ListView.cs
- PermissionRequestEvidence.cs
- IsolatedStorageFilePermission.cs
- TiffBitmapEncoder.cs
- QilIterator.cs
- PriorityRange.cs
- BamlLocalizationDictionary.cs
- MemoryFailPoint.cs
- DefaultValidator.cs
- DynamicPropertyReader.cs
- DesignerDataSourceView.cs
- ObjectDataSourceStatusEventArgs.cs
- GregorianCalendar.cs
- CodeBlockBuilder.cs
- xmlsaver.cs
- StyleHelper.cs
- SignatureHelper.cs
- BaseAsyncResult.cs
- SizeIndependentAnimationStorage.cs
- QilIterator.cs
- HuffModule.cs
- KoreanCalendar.cs
- DependencyPropertyAttribute.cs
- ClientSettingsSection.cs
- GenerateTemporaryAssemblyTask.cs
- RuntimeHelpers.cs
- UIElement.cs
- brushes.cs
- WebHeaderCollection.cs
- CacheMemory.cs
- WebServiceParameterData.cs
- ResourceAttributes.cs
- MenuItemStyleCollection.cs
- PartialArray.cs
- EncodingInfo.cs
- SafeFileMappingHandle.cs
- HiddenField.cs
- SmiEventSink_DeferedProcessing.cs
- HttpPostedFile.cs
- EntityType.cs
- XPathNode.cs
- BamlResourceContent.cs
- LogLogRecord.cs
- TypeSource.cs
- Models.cs
- ReadWriteSpinLock.cs
- OrderedDictionaryStateHelper.cs
- ByteViewer.cs
- TableProviderWrapper.cs
- HtmlImageAdapter.cs
- FocusWithinProperty.cs
- CompiledQuery.cs
- EventPrivateKey.cs
- ProtectedUri.cs
- ToolBarOverflowPanel.cs
- XmlNamespaceManager.cs
- XPathNodeList.cs
- NamespaceEmitter.cs
- PenLineCapValidation.cs
- Tablet.cs
- HtmlProps.cs
- SimpleBitVector32.cs
- ToolStripDropDownButton.cs
- COM2ICategorizePropertiesHandler.cs
- BinaryUtilClasses.cs
- XmlElementElement.cs
- Span.cs
- ReadOnlyState.cs
- WebReference.cs
- DiscoveryDocumentLinksPattern.cs
- XamlGridLengthSerializer.cs
- EntitySetDataBindingList.cs
- StrokeNode.cs
- PatternMatcher.cs