Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Configuration / 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
- UseLicense.cs
- SHA256Managed.cs
- XmlException.cs
- UpdatePanelTrigger.cs
- BrowserCapabilitiesCodeGenerator.cs
- Pair.cs
- DetailsViewRowCollection.cs
- WebPartConnectionsCancelVerb.cs
- ControlTemplate.cs
- WebException.cs
- PathGeometry.cs
- AuthorizationSection.cs
- EFTableProvider.cs
- CancelEventArgs.cs
- XmlCharacterData.cs
- XmlEncodedRawTextWriter.cs
- SkewTransform.cs
- StrongNameKeyPair.cs
- ArgIterator.cs
- HtmlTitle.cs
- Enlistment.cs
- GridItem.cs
- MimeTypePropertyAttribute.cs
- WinFormsSecurity.cs
- CfgParser.cs
- TypeDefinition.cs
- FloatUtil.cs
- ReferenceConverter.cs
- SystemShuttingDownException.cs
- SafeProcessHandle.cs
- sapiproxy.cs
- SqlDelegatedTransaction.cs
- SizeIndependentAnimationStorage.cs
- TreeView.cs
- SrgsNameValueTag.cs
- AccessDataSource.cs
- DataFormats.cs
- Expressions.cs
- ModelTreeEnumerator.cs
- FlowDocumentView.cs
- ListChangedEventArgs.cs
- ConvertEvent.cs
- SingleAnimationUsingKeyFrames.cs
- OdbcParameterCollection.cs
- DoubleStorage.cs
- SourceSwitch.cs
- ConstNode.cs
- GridItemCollection.cs
- XmlSchemaSimpleContent.cs
- Button.cs
- DocumentOrderComparer.cs
- MessageSecurityVersion.cs
- Table.cs
- ToolStripGrip.cs
- WSSecurityOneDotOneReceiveSecurityHeader.cs
- RouteParameter.cs
- SoapSchemaMember.cs
- LinqExpressionNormalizer.cs
- SqlDependency.cs
- ThemeDirectoryCompiler.cs
- HtmlInputControl.cs
- SetStoryboardSpeedRatio.cs
- CssStyleCollection.cs
- IndexOutOfRangeException.cs
- DataGridViewAutoSizeModeEventArgs.cs
- StringDictionary.cs
- PageCatalogPart.cs
- PrinterSettings.cs
- UnsignedPublishLicense.cs
- ClientType.cs
- SpecularMaterial.cs
- KoreanLunisolarCalendar.cs
- StrongName.cs
- SingleKeyFrameCollection.cs
- _ScatterGatherBuffers.cs
- XmlSchemaAnnotation.cs
- DisplayNameAttribute.cs
- WebBaseEventKeyComparer.cs
- RelationshipConverter.cs
- AppModelKnownContentFactory.cs
- XmlSchemaSimpleContentRestriction.cs
- DbDataSourceEnumerator.cs
- TransformProviderWrapper.cs
- XmlStringTable.cs
- FactoryRecord.cs
- TreeViewCancelEvent.cs
- ShaperBuffers.cs
- StorageRoot.cs
- Crc32.cs
- LoginNameDesigner.cs
- MsmqOutputSessionChannel.cs
- IChannel.cs
- PlatformCulture.cs
- mansign.cs
- Scene3D.cs
- AudioFileOut.cs
- MachineKeySection.cs
- AttachedAnnotation.cs
- DtdParser.cs
- XPathAncestorIterator.cs