Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ToolStripContainerActionList.cs
- x509utils.cs
- StateItem.cs
- GenerateHelper.cs
- NavigationProperty.cs
- PersistencePipeline.cs
- CodeAttributeDeclaration.cs
- DataGridViewImageColumn.cs
- SubMenuStyle.cs
- xsdvalidator.cs
- RectAnimation.cs
- TypeDescriptor.cs
- Quad.cs
- UrlMappingCollection.cs
- CommandField.cs
- ProfilePropertySettings.cs
- ItemCheckedEvent.cs
- NamespaceMapping.cs
- ClientSession.cs
- GiveFeedbackEventArgs.cs
- RSAPKCS1SignatureDeformatter.cs
- EventRouteFactory.cs
- MultiPropertyDescriptorGridEntry.cs
- DesignParameter.cs
- Label.cs
- IIS7UserPrincipal.cs
- PathGradientBrush.cs
- PenThreadWorker.cs
- graph.cs
- GZipStream.cs
- TextBoxRenderer.cs
- VirtualPathUtility.cs
- ElementHost.cs
- AutomationElement.cs
- ParseElement.cs
- InputLanguageSource.cs
- GraphicsPathIterator.cs
- ViewStateModeByIdAttribute.cs
- AsymmetricSignatureDeformatter.cs
- RootBrowserWindowAutomationPeer.cs
- AbstractSvcMapFileLoader.cs
- SqlDataSource.cs
- XmlExpressionDumper.cs
- Stack.cs
- Attributes.cs
- BufferCache.cs
- KnowledgeBase.cs
- ReadOnlyNameValueCollection.cs
- DefaultBinder.cs
- ConnectionStringsExpressionBuilder.cs
- CardSpaceException.cs
- NumericUpDown.cs
- DataGridViewColumnCollection.cs
- DataBinder.cs
- AutomationPatternInfo.cs
- IntegerValidatorAttribute.cs
- PrimaryKeyTypeConverter.cs
- StickyNote.cs
- DataTemplateKey.cs
- InternalResources.cs
- ViewKeyConstraint.cs
- SingleConverter.cs
- PTUtility.cs
- PublisherMembershipCondition.cs
- RectangleF.cs
- PartManifestEntry.cs
- InternalsVisibleToAttribute.cs
- DataGridCell.cs
- LiteralTextContainerControlBuilder.cs
- CodeGeneratorOptions.cs
- OptimizedTemplateContent.cs
- PackageRelationship.cs
- MemberMaps.cs
- XmlName.cs
- RuntimeHelpers.cs
- DatatypeImplementation.cs
- PersonalizationProvider.cs
- GeometryDrawing.cs
- X509Certificate2.cs
- OleDbErrorCollection.cs
- ZoneButton.cs
- TextCompositionEventArgs.cs
- ConditionalAttribute.cs
- PaperSize.cs
- selecteditemcollection.cs
- oledbmetadatacollectionnames.cs
- EntityDataSourceStatementEditorForm.cs
- RegistryConfigurationProvider.cs
- InteropAutomationProvider.cs
- HScrollBar.cs
- StorageScalarPropertyMapping.cs
- SHA512Managed.cs
- XmlSchemaSet.cs
- HashMembershipCondition.cs
- WebPartConnectionsCancelVerb.cs
- ProcessingInstructionAction.cs
- CodeAttributeDeclaration.cs
- VSWCFServiceContractGenerator.cs
- SortedDictionary.cs
- Mouse.cs