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
- CompilationLock.cs
- WebPartUtil.cs
- PtsPage.cs
- EventDescriptorCollection.cs
- BrushMappingModeValidation.cs
- KeyPressEvent.cs
- FamilyMap.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- ContextMenuService.cs
- filewebresponse.cs
- EntityCollection.cs
- EncryptedKeyHashIdentifierClause.cs
- WindowsMenu.cs
- WindowClosedEventArgs.cs
- ActivityExecutor.cs
- SizeAnimation.cs
- RSATokenProvider.cs
- ContentHostHelper.cs
- XmlAggregates.cs
- SqlColumnizer.cs
- TransformProviderWrapper.cs
- CategoryNameCollection.cs
- QilList.cs
- tooltip.cs
- OperandQuery.cs
- Calendar.cs
- WebRequestModulesSection.cs
- DependencyObjectProvider.cs
- Console.cs
- TypeFieldSchema.cs
- SqlDataReader.cs
- TypeSemantics.cs
- RawStylusInputReport.cs
- SHA384.cs
- OdbcException.cs
- PartialCachingControl.cs
- DataGridViewCellEventArgs.cs
- EntryPointNotFoundException.cs
- DynamicActivityXamlReader.cs
- ToolStripItemRenderEventArgs.cs
- TextLine.cs
- DataGridViewComboBoxEditingControl.cs
- HttpProfileGroupBase.cs
- TimeSpanOrInfiniteConverter.cs
- LinkUtilities.cs
- ToolStripHighContrastRenderer.cs
- PageRouteHandler.cs
- Tokenizer.cs
- Property.cs
- SimpleHandlerBuildProvider.cs
- SoapFaultCodes.cs
- BufferAllocator.cs
- DbParameterCollectionHelper.cs
- XmlSchemaElement.cs
- WorkflowInvoker.cs
- PagedDataSource.cs
- ImmutableClientRuntime.cs
- xml.cs
- TypographyProperties.cs
- EntityContainerRelationshipSet.cs
- XmlAtomicValue.cs
- DataListCommandEventArgs.cs
- FindCriteria11.cs
- CompModSwitches.cs
- ProviderMetadataCachedInformation.cs
- AnnotationHighlightLayer.cs
- FlatButtonAppearance.cs
- XpsInterleavingPolicy.cs
- BitmapFrameDecode.cs
- VectorValueSerializer.cs
- EventHandlersStore.cs
- Size.cs
- DataControlImageButton.cs
- EdmTypeAttribute.cs
- MenuItemBindingCollection.cs
- SafeTokenHandle.cs
- TextRenderer.cs
- ColumnMap.cs
- storepermissionattribute.cs
- PerformanceCounterManager.cs
- RenderingEventArgs.cs
- ToolbarAUtomationPeer.cs
- CompensationTokenData.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- X509Certificate2Collection.cs
- ToolStripDropDownMenu.cs
- EditorPart.cs
- InstanceDataCollectionCollection.cs
- MLangCodePageEncoding.cs
- DropShadowEffect.cs
- CursorConverter.cs
- Pair.cs
- ChannelManager.cs
- DelegatingConfigHost.cs
- TabPanel.cs
- DeflateEmulationStream.cs
- TextCharacters.cs
- TextElementEnumerator.cs
- SQLBoolean.cs
- SoapCommonClasses.cs