Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / ConfigXmlElement.cs / 1305376 / ConfigXmlElement.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 ConfigXmlElement : XmlElement, IConfigErrorInfo { int _line; string _filename; public ConfigXmlElement( 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); ConfigXmlElement clone = cloneNode as ConfigXmlElement; 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
- DataGridItemCollection.cs
- CodeAccessSecurityEngine.cs
- EntityDataSourceQueryBuilder.cs
- DocumentScope.cs
- StylusPoint.cs
- PipelineModuleStepContainer.cs
- ConfigurationSectionGroupCollection.cs
- GuidConverter.cs
- SystemThemeKey.cs
- CheckPair.cs
- TypeUtil.cs
- XmlHierarchyData.cs
- Bold.cs
- OverrideMode.cs
- Vector.cs
- GridViewRow.cs
- OracleString.cs
- LinqDataSource.cs
- CommandManager.cs
- ExpressionStringBuilder.cs
- PolicyException.cs
- AxImporter.cs
- PageAdapter.cs
- InvokeMethod.cs
- DataGridViewCellValidatingEventArgs.cs
- SQLMembershipProvider.cs
- TextEditorTyping.cs
- PrintEvent.cs
- PropertyOverridesDialog.cs
- ApplicationActivator.cs
- ValuePattern.cs
- SqlFactory.cs
- StreamWithDictionary.cs
- FocusWithinProperty.cs
- UserUseLicenseDictionaryLoader.cs
- XPathNodePointer.cs
- Filter.cs
- XmlCodeExporter.cs
- SafeCertificateStore.cs
- WaveHeader.cs
- CompoundFileIOPermission.cs
- BufferedGraphics.cs
- CertificateReferenceElement.cs
- ITreeGenerator.cs
- Reference.cs
- DuplicateWaitObjectException.cs
- XmlArrayItemAttribute.cs
- CfgSemanticTag.cs
- LambdaCompiler.Generated.cs
- MatrixAnimationBase.cs
- RuleSettingsCollection.cs
- WsdlBuildProvider.cs
- XpsStructure.cs
- ProxyElement.cs
- EnvelopedPkcs7.cs
- ProfileSettings.cs
- ArrayTypeMismatchException.cs
- RightsManagementInformation.cs
- XXXInfos.cs
- TakeOrSkipWhileQueryOperator.cs
- PointAnimationUsingPath.cs
- PreviewKeyDownEventArgs.cs
- WebSysDefaultValueAttribute.cs
- ExpressionBuilderContext.cs
- isolationinterop.cs
- XmlSchemaInclude.cs
- StagingAreaInputItem.cs
- DataGridHeaderBorder.cs
- TemplateControlBuildProvider.cs
- AnnotationHelper.cs
- DialogResultConverter.cs
- Variable.cs
- ObjectStateEntry.cs
- ValidationRuleCollection.cs
- FloaterBaseParaClient.cs
- COM2Enum.cs
- CodeMemberProperty.cs
- NavigatorInput.cs
- DataRowExtensions.cs
- InProcStateClientManager.cs
- XmlSchemaImport.cs
- HtmlLink.cs
- StorageEntitySetMapping.cs
- VarInfo.cs
- FactoryMaker.cs
- PropertyItem.cs
- MsmqElementBase.cs
- WinEventHandler.cs
- PropertyEmitter.cs
- FixedPage.cs
- ApplicationTrust.cs
- SQLDouble.cs
- ClassDataContract.cs
- WebPermission.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- XmlTextEncoder.cs
- XmlSchemaElement.cs
- WebPartDisplayModeCollection.cs
- JsonGlobals.cs
- SettingsPropertyCollection.cs