Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Sys / System / Configuration / ConfigXmlAttribute.cs / 1 / ConfigXmlAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration { using System.Configuration.Internal; using System.IO; using System.Xml; using System.Security.Permissions; internal sealed class ConfigXmlAttribute : XmlAttribute, IConfigErrorInfo { int _line; string _filename; public ConfigXmlAttribute( string filename, int line, string prefix, string localName, string namespaceUri, XmlDocument doc ) : base( prefix, localName, namespaceUri, doc ) { _line = line; _filename = filename; } int IConfigErrorInfo.LineNumber { get { return _line; } } string IConfigErrorInfo.Filename { get { return _filename; } } public override XmlNode CloneNode(bool deep) { XmlNode cloneNode = base.CloneNode(deep); ConfigXmlAttribute clone = cloneNode as ConfigXmlAttribute; if (clone != null) { clone._line = _line; clone._filename = _filename; } return cloneNode; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration { using System.Configuration.Internal; using System.IO; using System.Xml; using System.Security.Permissions; internal sealed class ConfigXmlAttribute : XmlAttribute, IConfigErrorInfo { int _line; string _filename; public ConfigXmlAttribute( string filename, int line, string prefix, string localName, string namespaceUri, XmlDocument doc ) : base( prefix, localName, namespaceUri, doc ) { _line = line; _filename = filename; } int IConfigErrorInfo.LineNumber { get { return _line; } } string IConfigErrorInfo.Filename { get { return _filename; } } public override XmlNode CloneNode(bool deep) { XmlNode cloneNode = base.CloneNode(deep); ConfigXmlAttribute clone = cloneNode as ConfigXmlAttribute; if (clone != null) { clone._line = _line; clone._filename = _filename; } return cloneNode; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XsdDateTime.cs
- NavigatingCancelEventArgs.cs
- ImplicitInputBrush.cs
- EntityDataSourceChangedEventArgs.cs
- GeneralTransformCollection.cs
- SharedConnectionWorkflowTransactionService.cs
- PersonalizableAttribute.cs
- ManifestResourceInfo.cs
- _ServiceNameStore.cs
- EncoderParameter.cs
- SessionPageStatePersister.cs
- Faults.cs
- PresentationAppDomainManager.cs
- RootProfilePropertySettingsCollection.cs
- DrawingCollection.cs
- RegisteredDisposeScript.cs
- ClientCultureInfo.cs
- documentsequencetextpointer.cs
- FigureHelper.cs
- DateTimeConstantAttribute.cs
- XmlAtomErrorReader.cs
- HeaderElement.cs
- ProfileParameter.cs
- XmlEncodedRawTextWriter.cs
- UIPermission.cs
- BackStopAuthenticationModule.cs
- SelectorAutomationPeer.cs
- NullRuntimeConfig.cs
- CheckBoxStandardAdapter.cs
- StandardToolWindows.cs
- SelectionRange.cs
- ExtendedPropertyInfo.cs
- DocumentXPathNavigator.cs
- HtmlInputControl.cs
- JsonEnumDataContract.cs
- ContextConfiguration.cs
- HeaderUtility.cs
- OpacityConverter.cs
- RenderData.cs
- ImageListDesigner.cs
- WebPartExportVerb.cs
- PerformanceCounterCategory.cs
- BaseProcessor.cs
- XmlElementAttributes.cs
- DebugInfoGenerator.cs
- DesigntimeLicenseContextSerializer.cs
- FixedDocument.cs
- ImageEditor.cs
- CodeDelegateInvokeExpression.cs
- Queue.cs
- ListViewDeleteEventArgs.cs
- AssemblyBuilder.cs
- ObjectDataSourceView.cs
- RtType.cs
- AnnotationAdorner.cs
- Int32KeyFrameCollection.cs
- RectAnimationUsingKeyFrames.cs
- ExpressionBuilderContext.cs
- SystemUnicastIPAddressInformation.cs
- FusionWrap.cs
- InvokePatternIdentifiers.cs
- _SslState.cs
- CompoundFileStorageReference.cs
- EventLogPermission.cs
- AlternationConverter.cs
- XmlDataLoader.cs
- Walker.cs
- LOSFormatter.cs
- UnconditionalPolicy.cs
- AnnouncementInnerClient11.cs
- TableLayoutSettings.cs
- WpfXamlMember.cs
- ReliableMessagingHelpers.cs
- Single.cs
- RemoteWebConfigurationHostServer.cs
- EdmMember.cs
- EntityDataSourceStatementEditorForm.cs
- Win32Exception.cs
- mediaclock.cs
- SoapElementAttribute.cs
- SoapFormatterSinks.cs
- ConnectionManagementElementCollection.cs
- ManagedFilter.cs
- WebPartManagerInternals.cs
- BuildResult.cs
- BindStream.cs
- DirtyTextRange.cs
- GridViewSortEventArgs.cs
- TemplatedAdorner.cs
- RSAOAEPKeyExchangeDeformatter.cs
- TextFormatterContext.cs
- DesignerRegion.cs
- PathStreamGeometryContext.cs
- EDesignUtil.cs
- NamespaceDecl.cs
- PropertyOrder.cs
- Margins.cs
- Random.cs
- WeakEventTable.cs
- Slider.cs