Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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
- BaseTreeIterator.cs
- WebResourceAttribute.cs
- CollectionChangeEventArgs.cs
- SamlAction.cs
- shaper.cs
- SharedPerformanceCounter.cs
- TrackingWorkflowEventArgs.cs
- RuleSettingsCollection.cs
- FtpWebRequest.cs
- ContainerSelectorBehavior.cs
- XamlRtfConverter.cs
- PathFigureCollection.cs
- AvTrace.cs
- RegistrationContext.cs
- Executor.cs
- TableLayoutStyleCollection.cs
- Function.cs
- webproxy.cs
- TemplatePropertyEntry.cs
- FlowPosition.cs
- DBDataPermission.cs
- Selection.cs
- OperatorExpressions.cs
- CommandID.cs
- XmlSchemaChoice.cs
- DataServiceHost.cs
- HashCodeCombiner.cs
- MessagePropertyVariants.cs
- DSACryptoServiceProvider.cs
- ExceptionHandler.cs
- ToolStripDropTargetManager.cs
- ProfileParameter.cs
- CachedTypeface.cs
- BinarySecretSecurityToken.cs
- DoubleAnimation.cs
- DateRangeEvent.cs
- Block.cs
- SkinBuilder.cs
- EncoderNLS.cs
- DecimalStorage.cs
- ScriptingProfileServiceSection.cs
- Help.cs
- NavigationPropertySingletonExpression.cs
- DocumentOrderComparer.cs
- CodeRegionDirective.cs
- Part.cs
- ClientSettingsProvider.cs
- LocationReferenceValue.cs
- FileFormatException.cs
- SQLMembershipProvider.cs
- HiddenFieldPageStatePersister.cs
- StrokeNodeEnumerator.cs
- _ConnectOverlappedAsyncResult.cs
- SelectionPattern.cs
- Rect.cs
- ReadOnlyHierarchicalDataSource.cs
- TextBounds.cs
- SecUtil.cs
- ReferenceSchema.cs
- WindowsSecurityTokenAuthenticator.cs
- ItemContainerGenerator.cs
- DataMisalignedException.cs
- Relationship.cs
- JournalNavigationScope.cs
- XPathParser.cs
- TabPage.cs
- XmlBinaryReaderSession.cs
- NativeMethods.cs
- TextStore.cs
- DatagridviewDisplayedBandsData.cs
- _LazyAsyncResult.cs
- RegexWorker.cs
- StrokeSerializer.cs
- Char.cs
- SoapReflectionImporter.cs
- WeakReferenceList.cs
- __Filters.cs
- ControlPager.cs
- XmlSchema.cs
- XXXInfos.cs
- RuntimeHandles.cs
- NoResizeHandleGlyph.cs
- DispatcherHooks.cs
- GuidConverter.cs
- AssemblyNameProxy.cs
- DataGridTable.cs
- DataPagerCommandEventArgs.cs
- Mutex.cs
- CodeIdentifier.cs
- EditorPartDesigner.cs
- SerializationFieldInfo.cs
- FixedFindEngine.cs
- SerialStream.cs
- PointCollection.cs
- EpmCustomContentSerializer.cs
- VoiceChangeEventArgs.cs
- DesignerAttributeInfo.cs
- FixedPageAutomationPeer.cs
- FastPropertyAccessor.cs
- WaitForChangedResult.cs