Code:
/ DotNET / DotNET / 8.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
- AssociatedControlConverter.cs
- ButtonField.cs
- UTF7Encoding.cs
- AssemblyResourceLoader.cs
- Hex.cs
- RSAOAEPKeyExchangeFormatter.cs
- Matrix3D.cs
- DataGridView.cs
- CompiledIdentityConstraint.cs
- KnownBoxes.cs
- Documentation.cs
- TabControlEvent.cs
- NonSerializedAttribute.cs
- DBConnection.cs
- ChameleonKey.cs
- SqlProcedureAttribute.cs
- DetailsViewCommandEventArgs.cs
- AnnotationMap.cs
- ProviderConnectionPointCollection.cs
- HostedNamedPipeTransportManager.cs
- SecurityTokenRequirement.cs
- BufferedWebEventProvider.cs
- TextEvent.cs
- DeviceContext2.cs
- ColumnClickEvent.cs
- ParseChildrenAsPropertiesAttribute.cs
- IItemContainerGenerator.cs
- Win32Native.cs
- TypeSystem.cs
- PageThemeCodeDomTreeGenerator.cs
- FunctionParameter.cs
- Win32Native.cs
- OutOfProcStateClientManager.cs
- ObjectQueryExecutionPlan.cs
- ConcurrencyMode.cs
- CodeSubDirectoriesCollection.cs
- ElementHostAutomationPeer.cs
- RefreshPropertiesAttribute.cs
- Sentence.cs
- brushes.cs
- X509UI.cs
- METAHEADER.cs
- Console.cs
- SetterTriggerConditionValueConverter.cs
- HMACSHA512.cs
- HiddenFieldDesigner.cs
- ClientBuildManagerCallback.cs
- CreateUserErrorEventArgs.cs
- DSACryptoServiceProvider.cs
- TransformCryptoHandle.cs
- LocalValueEnumerator.cs
- PackageController.cs
- IndependentAnimationStorage.cs
- XamlDesignerSerializationManager.cs
- LightweightCodeGenerator.cs
- ToolStripGripRenderEventArgs.cs
- StyleCollectionEditor.cs
- DataGridViewEditingControlShowingEventArgs.cs
- WebBrowserDocumentCompletedEventHandler.cs
- ResourceManagerWrapper.cs
- Rectangle.cs
- FixedHighlight.cs
- SQLInt16Storage.cs
- SystemGatewayIPAddressInformation.cs
- RichTextBoxContextMenu.cs
- ButtonBase.cs
- XsltInput.cs
- DataDocumentXPathNavigator.cs
- MissingSatelliteAssemblyException.cs
- HtmlInputSubmit.cs
- FontUnit.cs
- PermissionAttributes.cs
- SafeNativeMethodsMilCoreApi.cs
- TextElementEditingBehaviorAttribute.cs
- WebPartMovingEventArgs.cs
- StringArrayConverter.cs
- ListViewInsertionMark.cs
- ApplicationProxyInternal.cs
- TextRunCache.cs
- DataPagerFieldCommandEventArgs.cs
- TabRenderer.cs
- KeySpline.cs
- StateItem.cs
- SymbolPair.cs
- Underline.cs
- SeekStoryboard.cs
- CodeObject.cs
- ManagementEventWatcher.cs
- ThrowHelper.cs
- FindProgressChangedEventArgs.cs
- URLMembershipCondition.cs
- FilePrompt.cs
- SQLGuidStorage.cs
- DropDownList.cs
- UrlAuthorizationModule.cs
- RequiredAttributeAttribute.cs
- AssemblySettingAttributes.cs
- XmlSchemaExternal.cs
- NameNode.cs
- ArrangedElement.cs