Code:
/ FX-1434 / FX-1434 / 1.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
- SingleSelectRootGridEntry.cs
- NativeMethodsOther.cs
- SelectedGridItemChangedEvent.cs
- XmlTextReaderImpl.cs
- SharedPerformanceCounter.cs
- SQLString.cs
- ZoneButton.cs
- DataTablePropertyDescriptor.cs
- TypedDatasetGenerator.cs
- ColorAnimationUsingKeyFrames.cs
- ToolboxItemCollection.cs
- SqlDataSourceSummaryPanel.cs
- AutoScrollHelper.cs
- UIPermission.cs
- Enlistment.cs
- ThumbAutomationPeer.cs
- EndpointAddress10.cs
- NativeObjectSecurity.cs
- ComponentEditorForm.cs
- StrokeSerializer.cs
- TreeView.cs
- DeferredTextReference.cs
- InvariantComparer.cs
- IPipelineRuntime.cs
- PasswordTextContainer.cs
- ControlPropertyNameConverter.cs
- WmiPutTraceRecord.cs
- AdornedElementPlaceholder.cs
- Viewport3DVisual.cs
- EdmItemCollection.cs
- ImageMapEventArgs.cs
- SqlDataSourceConnectionPanel.cs
- SessionStateContainer.cs
- BigInt.cs
- DataFormats.cs
- EdmSchemaAttribute.cs
- SoapIncludeAttribute.cs
- LinearGradientBrush.cs
- FlowDocumentReaderAutomationPeer.cs
- MDIWindowDialog.cs
- HostTimeoutsElement.cs
- ListControlActionList.cs
- RenderDataDrawingContext.cs
- Byte.cs
- TableSectionStyle.cs
- DetailsViewInsertEventArgs.cs
- StreamResourceInfo.cs
- GZipDecoder.cs
- FixedSOMTextRun.cs
- SplitterPanel.cs
- AxisAngleRotation3D.cs
- GeneralTransform3DGroup.cs
- DrawToolTipEventArgs.cs
- HtmlTextArea.cs
- GridView.cs
- ItemCheckEvent.cs
- ConnectionInterfaceCollection.cs
- GPRECTF.cs
- DataGridRelationshipRow.cs
- JavaScriptObjectDeserializer.cs
- CoreChannel.cs
- ProjectionPruner.cs
- TextEffect.cs
- InputProcessorProfilesLoader.cs
- TransportChannelListener.cs
- InputLanguageEventArgs.cs
- BamlBinaryReader.cs
- CqlIdentifiers.cs
- DESCryptoServiceProvider.cs
- Debugger.cs
- EndOfStreamException.cs
- FixedPageProcessor.cs
- LocationReferenceValue.cs
- ViewPort3D.cs
- AssociationType.cs
- ThreadStaticAttribute.cs
- ReferenceEqualityComparer.cs
- InputElement.cs
- OleDbInfoMessageEvent.cs
- DLinqTableProvider.cs
- CodeConditionStatement.cs
- GC.cs
- CultureInfo.cs
- ByteKeyFrameCollection.cs
- DictionaryEditChange.cs
- HtmlHead.cs
- HttpListenerTimeoutManager.cs
- SingleAnimationBase.cs
- DesignerAdapterUtil.cs
- View.cs
- PolygonHotSpot.cs
- DbDataRecord.cs
- MaterialGroup.cs
- CheckBox.cs
- DrawingBrush.cs
- HostingEnvironmentSection.cs
- ScrollBar.cs
- ContextStack.cs
- ProfileGroupSettingsCollection.cs
- TypeExtensionConverter.cs