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
- Logging.cs
- Int32CAMarshaler.cs
- TableAutomationPeer.cs
- ThreadAbortException.cs
- GridViewRowEventArgs.cs
- AtlasWeb.Designer.cs
- ColorContext.cs
- CalendarKeyboardHelper.cs
- AttachedAnnotation.cs
- Set.cs
- SharedStatics.cs
- HTMLTextWriter.cs
- SchemaInfo.cs
- TextElementCollectionHelper.cs
- DiagnosticsConfigurationHandler.cs
- BitmapDownload.cs
- FrameworkEventSource.cs
- AudioFileOut.cs
- ObjectContextServiceProvider.cs
- DeploymentSectionCache.cs
- CursorInteropHelper.cs
- InputLanguage.cs
- ProcessModule.cs
- ExecutedRoutedEventArgs.cs
- RtType.cs
- CompositeFontParser.cs
- PersonalizationState.cs
- HeaderCollection.cs
- ComponentResourceKey.cs
- RequestDescription.cs
- WebPartMinimizeVerb.cs
- ApplicationSettingsBase.cs
- PaperSize.cs
- TraceSection.cs
- ListenerUnsafeNativeMethods.cs
- VariableElement.cs
- TileBrush.cs
- Merger.cs
- XPathQilFactory.cs
- ContainerActivationHelper.cs
- ClientBuildManager.cs
- AnyAllSearchOperator.cs
- CommandID.cs
- TdsEnums.cs
- ComponentEditorForm.cs
- AuditLogLocation.cs
- EventLogEntry.cs
- DataGridComboBoxColumn.cs
- LineSegment.cs
- SqlServer2KCompatibilityCheck.cs
- WindowsFormsSectionHandler.cs
- WebContentFormatHelper.cs
- DefaultPropertyAttribute.cs
- ServiceHttpHandlerFactory.cs
- SqlAliasesReferenced.cs
- Tablet.cs
- Parameter.cs
- AmbiguousMatchException.cs
- PartBasedPackageProperties.cs
- NameValuePermission.cs
- UITypeEditor.cs
- MapPathBasedVirtualPathProvider.cs
- SqlTypeConverter.cs
- ReadWriteObjectLock.cs
- ConfigurationValue.cs
- EdmTypeAttribute.cs
- DataExpression.cs
- ToolStripTextBox.cs
- AnnotationResourceCollection.cs
- OdbcConnectionString.cs
- DataGridViewColumnConverter.cs
- StorageModelBuildProvider.cs
- JavaScriptSerializer.cs
- MailMessageEventArgs.cs
- SqlDataSourceSelectingEventArgs.cs
- FileStream.cs
- VolatileResourceManager.cs
- EncryptedData.cs
- TogglePattern.cs
- TileModeValidation.cs
- ActivityDesignerAccessibleObject.cs
- DesigntimeLicenseContext.cs
- InProcStateClientManager.cs
- ListViewItem.cs
- DiffuseMaterial.cs
- TableHeaderCell.cs
- TextStore.cs
- AsyncInvokeContext.cs
- ClientRoleProvider.cs
- DrawingServices.cs
- WebSysDisplayNameAttribute.cs
- SqlCacheDependencySection.cs
- ResourceDictionary.cs
- CodeTypeConstructor.cs
- SqlDataSourceConnectionPanel.cs
- PermissionAttributes.cs
- MemoryFailPoint.cs
- DragSelectionMessageFilter.cs
- ConnectionPool.cs
- PasswordDeriveBytes.cs