Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Serialization / XmlAttributeOverrides.cs / 1305376 / 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.[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ModelPropertyDescriptor.cs
- XPathNodePointer.cs
- ObjectAnimationBase.cs
- BuildProviderCollection.cs
- DelegateTypeInfo.cs
- RemoteCryptoDecryptRequest.cs
- RSAPKCS1KeyExchangeFormatter.cs
- UnsafeNativeMethodsMilCoreApi.cs
- Internal.cs
- EmptyEnumerator.cs
- SystemIPInterfaceStatistics.cs
- BaseTemplateBuildProvider.cs
- ExpressionBindingsDialog.cs
- FullTextBreakpoint.cs
- TrackingMemoryStreamFactory.cs
- BooleanKeyFrameCollection.cs
- CommandManager.cs
- Content.cs
- SqlDataAdapter.cs
- cookiecontainer.cs
- SimpleType.cs
- Ipv6Element.cs
- DefaultClaimSet.cs
- ReadOnlyHierarchicalDataSourceView.cs
- XPathSingletonIterator.cs
- OutOfProcStateClientManager.cs
- WebPartVerbCollection.cs
- ReflectEventDescriptor.cs
- wpf-etw.cs
- TemplateBindingExtension.cs
- Point3DAnimationUsingKeyFrames.cs
- XmlAnyElementAttributes.cs
- ToolStripDropDown.cs
- TaskHelper.cs
- ListViewDeleteEventArgs.cs
- MarkupCompilePass1.cs
- RenderTargetBitmap.cs
- _IPv6Address.cs
- ParameterModifier.cs
- TextOutput.cs
- Socket.cs
- Parameter.cs
- ThreadExceptionEvent.cs
- AttributedMetaModel.cs
- DesignParameter.cs
- DataGridViewCellStyleEditor.cs
- SiteMembershipCondition.cs
- GAC.cs
- TreeNode.cs
- rsa.cs
- ContainerUIElement3D.cs
- ProfileParameter.cs
- DataGridLength.cs
- WebMessageBodyStyleHelper.cs
- SourceItem.cs
- TypeDescriptor.cs
- OLEDB_Util.cs
- RegexCode.cs
- DockPanel.cs
- ServiceProviders.cs
- UIEndRequest.cs
- SubMenuStyle.cs
- Dump.cs
- Merger.cs
- ProfileInfo.cs
- RadioButtonBaseAdapter.cs
- NamespaceMapping.cs
- StringExpressionSet.cs
- CodeTypeOfExpression.cs
- TableItemStyle.cs
- DetailsViewDeleteEventArgs.cs
- ControlSerializer.cs
- TextElementEnumerator.cs
- Accessible.cs
- RuntimeArgumentHandle.cs
- XmlAtomicValue.cs
- BulletChrome.cs
- _BufferOffsetSize.cs
- PopupControlService.cs
- KeyboardEventArgs.cs
- SqlUserDefinedTypeAttribute.cs
- TransferRequestHandler.cs
- PictureBox.cs
- PartialCachingAttribute.cs
- ExeConfigurationFileMap.cs
- CopyCodeAction.cs
- ToolboxComponentsCreatingEventArgs.cs
- Overlapped.cs
- TextEvent.cs
- ImageFormat.cs
- CallContext.cs
- tooltip.cs
- ObjectTag.cs
- StorageInfo.cs
- XmlEventCache.cs
- FixedSOMPage.cs
- WebControlsSection.cs
- ConsumerConnectionPointCollection.cs
- XPathNavigatorReader.cs
- OutKeywords.cs