Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / ConfigXmlAttribute.cs / 1305376 / 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
- StringCollection.cs
- BigInt.cs
- ResourceProviderFactory.cs
- VSWCFServiceContractGenerator.cs
- FloaterParaClient.cs
- httpapplicationstate.cs
- LocalizedNameDescriptionPair.cs
- MarkupWriter.cs
- PriorityChain.cs
- EventHandlerList.cs
- HttpWriter.cs
- ObjectListCommandCollection.cs
- PageCache.cs
- DoubleLink.cs
- Brushes.cs
- StrokeCollection2.cs
- Merger.cs
- SimpleColumnProvider.cs
- DocumentPageViewAutomationPeer.cs
- WebBaseEventKeyComparer.cs
- XPathEmptyIterator.cs
- OracleDateTime.cs
- DataColumnChangeEvent.cs
- RouteItem.cs
- TileBrush.cs
- ToolStripItem.cs
- BmpBitmapDecoder.cs
- TransformationRules.cs
- PresentationSource.cs
- SerialReceived.cs
- EntityChangedParams.cs
- TypeElement.cs
- ListParagraph.cs
- XmlConvert.cs
- DateTimeFormatInfo.cs
- ProcessModelSection.cs
- InvokeProviderWrapper.cs
- AbandonedMutexException.cs
- TraceData.cs
- SqlFileStream.cs
- BinaryCommonClasses.cs
- HostingMessageProperty.cs
- EmbeddedMailObjectsCollection.cs
- SystemKeyConverter.cs
- MailWebEventProvider.cs
- NativeWindow.cs
- ThemeConfigurationDialog.cs
- UnauthorizedAccessException.cs
- TransformGroup.cs
- Material.cs
- RSAPKCS1SignatureDeformatter.cs
- KnownBoxes.cs
- StrongNameMembershipCondition.cs
- TreePrinter.cs
- Misc.cs
- ModulesEntry.cs
- TextCharacters.cs
- TextServicesDisplayAttributePropertyRanges.cs
- XmlTypeMapping.cs
- InvalidOperationException.cs
- VisualBasicImportReference.cs
- FixUpCollection.cs
- MessageEncodingBindingElement.cs
- XmlDataSourceNodeDescriptor.cs
- PropertyGridView.cs
- AnonymousIdentificationModule.cs
- WebPartUserCapability.cs
- TextEditorThreadLocalStore.cs
- DrawingAttributes.cs
- SqlClientWrapperSmiStream.cs
- SamlSecurityToken.cs
- DispatcherHooks.cs
- CreateUserWizardStep.cs
- TableLayoutPanelCellPosition.cs
- WebBrowserUriTypeConverter.cs
- EndOfStreamException.cs
- WebPartCatalogAddVerb.cs
- Model3DGroup.cs
- TableCell.cs
- Internal.cs
- SrgsGrammarCompiler.cs
- UriParserTemplates.cs
- UserControl.cs
- InkPresenterAutomationPeer.cs
- ObjectDataSourceStatusEventArgs.cs
- WindowsTreeView.cs
- PrimitiveCodeDomSerializer.cs
- XmlSerializer.cs
- SqlSelectStatement.cs
- BackgroundWorker.cs
- NonVisualControlAttribute.cs
- RefExpr.cs
- MenuItemStyle.cs
- RtfControlWordInfo.cs
- TraceProvider.cs
- ExpressionVisitorHelpers.cs
- ToolConsole.cs
- OracleDataAdapter.cs
- SqlDataRecord.cs
- TimelineClockCollection.cs