Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DependentList.cs
- JsonMessageEncoderFactory.cs
- XmlQueryStaticData.cs
- XmlSchemaElement.cs
- ToolStripManager.cs
- CompilerErrorCollection.cs
- HtmlTableRow.cs
- PictureBoxDesigner.cs
- ParenthesizePropertyNameAttribute.cs
- TreeIterator.cs
- RenamedEventArgs.cs
- OpenFileDialog.cs
- ValueConversionAttribute.cs
- D3DImage.cs
- DataGridComboBoxColumn.cs
- DSASignatureDeformatter.cs
- DiscoveryDocumentLinksPattern.cs
- TreeBuilderXamlTranslator.cs
- StateRuntime.cs
- WeakReference.cs
- BamlResourceContent.cs
- SqlXmlStorage.cs
- SqlFactory.cs
- DropShadowEffect.cs
- MergeFailedEvent.cs
- ComponentCache.cs
- XAMLParseException.cs
- UpdateException.cs
- AssemblyBuilderData.cs
- RtfToXamlReader.cs
- URLIdentityPermission.cs
- EnumerableCollectionView.cs
- SpanIndex.cs
- XmlWellformedWriter.cs
- ColumnCollectionEditor.cs
- HiddenField.cs
- CoTaskMemHandle.cs
- DoubleLink.cs
- ConnectionManagementElementCollection.cs
- CodeGeneratorOptions.cs
- Literal.cs
- ActivityBindForm.Designer.cs
- TemplateBuilder.cs
- AssemblyBuilder.cs
- Hyperlink.cs
- SizeAnimation.cs
- TextBlockAutomationPeer.cs
- OutputCache.cs
- Composition.cs
- TypeHelper.cs
- TypeUtils.cs
- FlowDocumentFormatter.cs
- WebPartConnectionsCloseVerb.cs
- ProviderConnectionPoint.cs
- HashHelpers.cs
- ConfigurationLocation.cs
- AttachmentCollection.cs
- TreeChangeInfo.cs
- CryptographicAttribute.cs
- GlyphShapingProperties.cs
- JumpList.cs
- HtmlWindow.cs
- CellParaClient.cs
- FacetValues.cs
- MessageVersionConverter.cs
- WmpBitmapDecoder.cs
- AnimationClockResource.cs
- IRCollection.cs
- AccessText.cs
- SpellerHighlightLayer.cs
- Lasso.cs
- ServerType.cs
- WebScriptEnablingElement.cs
- FlowDocumentReaderAutomationPeer.cs
- GroupedContextMenuStrip.cs
- ManagementException.cs
- DataGridViewSelectedColumnCollection.cs
- KeyValueSerializer.cs
- QilList.cs
- CaseExpr.cs
- JsonEncodingStreamWrapper.cs
- InteropEnvironment.cs
- RadioButton.cs
- DocumentViewerBase.cs
- AuthorizationRule.cs
- ClientSideProviderDescription.cs
- WindowsButton.cs
- PeerEndPoint.cs
- SystemIPInterfaceStatistics.cs
- WebPartCollection.cs
- EntityCodeGenerator.cs
- PolyBezierSegment.cs
- HandleCollector.cs
- remotingproxy.cs
- ProviderUtil.cs
- CryptoKeySecurity.cs
- FontNamesConverter.cs
- DBCommand.cs
- validation.cs
- ThicknessKeyFrameCollection.cs