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
- SHA512CryptoServiceProvider.cs
- CharAnimationUsingKeyFrames.cs
- SchemaNamespaceManager.cs
- HtmlSelect.cs
- DatatypeImplementation.cs
- ClientConfigurationHost.cs
- WsatExtendedInformation.cs
- DoubleAnimationBase.cs
- Attributes.cs
- SingleObjectCollection.cs
- BuildManager.cs
- SignatureDescription.cs
- GeometryValueSerializer.cs
- HostingPreferredMapPath.cs
- StrongNameIdentityPermission.cs
- Expressions.cs
- DocumentApplication.cs
- TextTreeExtractElementUndoUnit.cs
- CreateUserWizardStep.cs
- NonParentingControl.cs
- WindowsGraphicsWrapper.cs
- CryptoKeySecurity.cs
- EntityChangedParams.cs
- ActivityExecutorSurrogate.cs
- TextStore.cs
- DesignerTransaction.cs
- ClientBuildManagerCallback.cs
- HelpEvent.cs
- SqlDataRecord.cs
- AndCondition.cs
- ApplicationServicesHostFactory.cs
- WebPartAddingEventArgs.cs
- DtdParser.cs
- CdpEqualityComparer.cs
- TileModeValidation.cs
- RTLAwareMessageBox.cs
- Point3DAnimation.cs
- XsdDuration.cs
- EntityDataSourceUtil.cs
- counter.cs
- KoreanCalendar.cs
- PropertyDescriptor.cs
- WebPartChrome.cs
- ListView.cs
- XmlBinaryReader.cs
- SamlConditions.cs
- TableRow.cs
- Duration.cs
- EntityDataSourceMemberPath.cs
- TypeBuilder.cs
- PropertyDescriptorCollection.cs
- CheckBoxBaseAdapter.cs
- SmtpTransport.cs
- TextDocumentView.cs
- ClonableStack.cs
- JsonFormatMapping.cs
- TextEditorCharacters.cs
- TreeViewCancelEvent.cs
- ResourceContainer.cs
- GiveFeedbackEventArgs.cs
- ValuePatternIdentifiers.cs
- IndexerNameAttribute.cs
- MetadataItemEmitter.cs
- panel.cs
- WindowsFormsHelpers.cs
- remotingproxy.cs
- MenuRendererStandards.cs
- Double.cs
- _OSSOCK.cs
- FileLoadException.cs
- util.cs
- Constants.cs
- CompilerScopeManager.cs
- DataFormats.cs
- x509store.cs
- PriorityQueue.cs
- Calendar.cs
- VarRemapper.cs
- UniformGrid.cs
- CalendarDay.cs
- RefreshEventArgs.cs
- _StreamFramer.cs
- CookielessHelper.cs
- altserialization.cs
- AdCreatedEventArgs.cs
- MatrixKeyFrameCollection.cs
- ComplexTypeEmitter.cs
- FieldBuilder.cs
- XmlSchemaChoice.cs
- _IPv6Address.cs
- log.cs
- FixedPageAutomationPeer.cs
- CanExecuteRoutedEventArgs.cs
- PersistNameAttribute.cs
- SqlReferenceCollection.cs
- BufferedGraphicsContext.cs
- XPathDocumentIterator.cs
- DataRecordObjectView.cs
- AuthorizationSection.cs
- CodeArgumentReferenceExpression.cs