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
- TransformedBitmap.cs
- hebrewshape.cs
- UnsafeNetInfoNativeMethods.cs
- TemplateNameScope.cs
- Oid.cs
- PolyQuadraticBezierSegment.cs
- XhtmlBasicCalendarAdapter.cs
- TextShapeableCharacters.cs
- ZipFileInfo.cs
- TypeElement.cs
- StylusPointPropertyInfo.cs
- KeyValueSerializer.cs
- XmlObjectSerializerWriteContextComplex.cs
- ClickablePoint.cs
- EntityTypeBase.cs
- OleDbEnumerator.cs
- HideDisabledControlAdapter.cs
- RuleRefElement.cs
- TrackPoint.cs
- webeventbuffer.cs
- QilExpression.cs
- GPRECTF.cs
- WebFormsRootDesigner.cs
- CodeAssignStatement.cs
- _ScatterGatherBuffers.cs
- CommonXSendMessage.cs
- Compilation.cs
- FormsAuthentication.cs
- WebColorConverter.cs
- FixedTextSelectionProcessor.cs
- DragSelectionMessageFilter.cs
- DocumentEventArgs.cs
- RegistrationProxy.cs
- Panel.cs
- HttpChannelListener.cs
- ObjectContextServiceProvider.cs
- TrustLevel.cs
- EmptyControlCollection.cs
- CodeAssignStatement.cs
- ValidationHelper.cs
- ResponseBodyWriter.cs
- EditorResources.cs
- ButtonBase.cs
- BlockUIContainer.cs
- ErrorStyle.cs
- DefaultAsyncDataDispatcher.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- Timer.cs
- UpdatePanelTriggerCollection.cs
- ProfessionalColors.cs
- FixUp.cs
- DataListCommandEventArgs.cs
- StaticDataManager.cs
- TextPenaltyModule.cs
- IconHelper.cs
- AssemblyGen.cs
- _SslStream.cs
- Tile.cs
- ClockController.cs
- LocalizationCodeDomSerializer.cs
- DeferredSelectedIndexReference.cs
- DataView.cs
- Int16.cs
- SecurityTokenSerializer.cs
- SqlCachedBuffer.cs
- BrowserCapabilitiesCodeGenerator.cs
- Property.cs
- UriExt.cs
- TabItemAutomationPeer.cs
- JsonReaderDelegator.cs
- CallContext.cs
- FunctionCommandText.cs
- XamlVector3DCollectionSerializer.cs
- SimpleMailWebEventProvider.cs
- TraceUtility.cs
- ParameterReplacerVisitor.cs
- SecurityContextTokenCache.cs
- HttpWebRequest.cs
- RequestQueue.cs
- MembershipSection.cs
- ConfigurationManagerHelperFactory.cs
- XMLSchema.cs
- Pen.cs
- HtmlInputControl.cs
- BasePattern.cs
- TextParagraph.cs
- ObjectCloneHelper.cs
- ExtentJoinTreeNode.cs
- NoPersistHandle.cs
- Environment.cs
- LayoutManager.cs
- CodeSnippetTypeMember.cs
- WebPartUserCapability.cs
- RectangleGeometry.cs
- ControlEvent.cs
- GenericAuthenticationEventArgs.cs
- PackWebRequestFactory.cs
- RequestQueue.cs
- FontSourceCollection.cs
- ZoneLinkButton.cs