Code:
/ DotNET / DotNET / 8.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
- SymbolPair.cs
- BasicHttpBinding.cs
- DataSourceSelectArguments.cs
- TemplateParser.cs
- MemberAccessException.cs
- WindowsTab.cs
- XmlAttributeOverrides.cs
- Vector3DConverter.cs
- AsyncOperationContext.cs
- FileIOPermission.cs
- Highlights.cs
- DeploymentSection.cs
- XmlEnumAttribute.cs
- CmsInterop.cs
- WinCategoryAttribute.cs
- WinHttpWebProxyFinder.cs
- SubMenuStyleCollectionEditor.cs
- MimeObjectFactory.cs
- PersistenceMetadataNamespace.cs
- ThousandthOfEmRealDoubles.cs
- ObjectKeyFrameCollection.cs
- DataSourceXmlSerializer.cs
- SymbolTable.cs
- UpdateExpressionVisitor.cs
- StructuredType.cs
- XmlDocumentSerializer.cs
- ZipPackage.cs
- DataFormats.cs
- HttpRequestTraceRecord.cs
- MobileRedirect.cs
- ExceptionDetail.cs
- ActivityUtilities.cs
- ClientBuildManager.cs
- XmlNodeReader.cs
- SecurityContextTokenCache.cs
- PageParserFilter.cs
- JsonUriDataContract.cs
- Operator.cs
- XsltInput.cs
- StateWorkerRequest.cs
- Rijndael.cs
- _SecureChannel.cs
- XPathPatternBuilder.cs
- XmlSchemaDocumentation.cs
- RegexCapture.cs
- NavigateEvent.cs
- FunctionOverloadResolver.cs
- XmlNodeList.cs
- PropertyPathConverter.cs
- EmptyStringExpandableObjectConverter.cs
- WebHttpDispatchOperationSelectorData.cs
- DesignBindingPropertyDescriptor.cs
- LinkButton.cs
- BookmarkManager.cs
- ConnectionPointCookie.cs
- DataMember.cs
- StaticTextPointer.cs
- SQLDateTimeStorage.cs
- InputBuffer.cs
- SmiEventSink_DeferedProcessing.cs
- SqlTransaction.cs
- Error.cs
- PropertyConverter.cs
- AtomMaterializerLog.cs
- HandlerWithFactory.cs
- ProcessHostMapPath.cs
- ServicePointManager.cs
- WindowsGraphicsWrapper.cs
- DataGridViewCellLinkedList.cs
- UnsafeCollabNativeMethods.cs
- SessionEndedEventArgs.cs
- CommandManager.cs
- KnownColorTable.cs
- LicenseProviderAttribute.cs
- ProviderBase.cs
- RuntimeArgumentHandle.cs
- Mapping.cs
- SystemKeyConverter.cs
- SQLBinaryStorage.cs
- DoubleAnimationBase.cs
- FormsIdentity.cs
- DynamicILGenerator.cs
- SessionStateSection.cs
- UITypeEditors.cs
- AnimationException.cs
- GregorianCalendar.cs
- DetailsViewRow.cs
- DesignerLoader.cs
- RtfControls.cs
- Timer.cs
- SQLChars.cs
- TdsParser.cs
- DataGridViewLayoutData.cs
- StylusEventArgs.cs
- DataColumnChangeEvent.cs
- StringBlob.cs
- ListView.cs
- ValidationEventArgs.cs
- CodeMethodReturnStatement.cs
- RichTextBoxConstants.cs