Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / Serialization / XmlAttributeOverrides.cs / 1 / XmlAttributeOverrides.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 XmlAttributeOverrides { Hashtable types = new Hashtable(); ///[To be supplied.] ////// /// public void Add(Type type, XmlAttributes attributes) { Add(type, string.Empty, attributes); } ///[To be supplied.] ////// /// public void Add(Type type, string member, XmlAttributes 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.XmlAttributeSetAgain, type.FullName, member)); } members.Add(member, attributes); } ///[To be supplied.] ////// /// public XmlAttributes this[Type type] { get { return this[type, string.Empty]; } } ///[To be supplied.] ////// /// public XmlAttributes this[Type type, string member] { get { Hashtable members = (Hashtable)types[type]; if (members == null) return null; return (XmlAttributes)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
- NativeMethodsCLR.cs
- CultureInfo.cs
- OutputCacheProfileCollection.cs
- DataObject.cs
- WindowsScrollBarBits.cs
- DataTemplateSelector.cs
- DefaultTypeArgumentAttribute.cs
- PropertyEmitter.cs
- TextLine.cs
- FieldNameLookup.cs
- CancellationToken.cs
- DATA_BLOB.cs
- HandledMouseEvent.cs
- MarkupWriter.cs
- ImageDrawing.cs
- SolidBrush.cs
- CounterCreationDataCollection.cs
- exports.cs
- QueueTransferProtocol.cs
- LessThan.cs
- DBSqlParserColumnCollection.cs
- RequestCache.cs
- CommentEmitter.cs
- nulltextnavigator.cs
- DataRelation.cs
- UnsafeNativeMethodsMilCoreApi.cs
- DBConnectionString.cs
- LocatorBase.cs
- PageCodeDomTreeGenerator.cs
- Int16Storage.cs
- StaticSiteMapProvider.cs
- PixelShader.cs
- RightsManagementInformation.cs
- PolyLineSegmentFigureLogic.cs
- NativeMethods.cs
- IFlowDocumentViewer.cs
- BamlTreeNode.cs
- WebSysDescriptionAttribute.cs
- BufferedOutputStream.cs
- TransformerConfigurationWizardBase.cs
- DefaultAsyncDataDispatcher.cs
- QueryTaskGroupState.cs
- TransactionScope.cs
- Module.cs
- MatrixCamera.cs
- UICuesEvent.cs
- ResourceWriter.cs
- PriorityRange.cs
- Comparer.cs
- GroupBox.cs
- PersonalizationDictionary.cs
- QuaternionValueSerializer.cs
- Transform3DGroup.cs
- WebPartsSection.cs
- ParallelTimeline.cs
- ListViewUpdateEventArgs.cs
- SiteMapPathDesigner.cs
- Win32MouseDevice.cs
- SymbolType.cs
- CustomGrammar.cs
- QuadraticBezierSegment.cs
- DynamicVirtualDiscoSearcher.cs
- DBCommandBuilder.cs
- PeerToPeerException.cs
- HwndStylusInputProvider.cs
- WebPartCatalogCloseVerb.cs
- HighlightComponent.cs
- Attributes.cs
- CompilerTypeWithParams.cs
- FormClosingEvent.cs
- PointValueSerializer.cs
- XmlAttributeCache.cs
- GridViewColumnHeaderAutomationPeer.cs
- AssociationSetEnd.cs
- MailAddressParser.cs
- HtmlTable.cs
- WebEventCodes.cs
- StorageEndPropertyMapping.cs
- XmlNavigatorStack.cs
- HtmlUtf8RawTextWriter.cs
- DataGridViewComboBoxColumnDesigner.cs
- RayHitTestParameters.cs
- SafeNativeMethodsOther.cs
- SizeAnimationClockResource.cs
- SessionStateModule.cs
- RequiredAttributeAttribute.cs
- DocumentAutomationPeer.cs
- SelfSignedCertificate.cs
- Condition.cs
- DoubleLink.cs
- GPStream.cs
- ExclusiveTcpTransportManager.cs
- DataGridViewSelectedRowCollection.cs
- UrlPath.cs
- TdsParserHelperClasses.cs
- SettingsPropertyValue.cs
- QueryContinueDragEvent.cs
- hresults.cs
- ExpressionNode.cs
- securitycriticaldata.cs