Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- OracleTransaction.cs
- SqlTransaction.cs
- ScriptingProfileServiceSection.cs
- EntityTransaction.cs
- ResourceReader.cs
- ImageListUtils.cs
- ScrollData.cs
- HttpFileCollectionWrapper.cs
- SqlBooleanizer.cs
- Triangle.cs
- LinqExpressionNormalizer.cs
- LayoutEditorPart.cs
- TraceData.cs
- RowBinding.cs
- ConfigXmlComment.cs
- DATA_BLOB.cs
- SetState.cs
- BuildProvider.cs
- CaseInsensitiveHashCodeProvider.cs
- EventMappingSettingsCollection.cs
- BindingNavigator.cs
- EventSinkHelperWriter.cs
- FunctionCommandText.cs
- ShaderEffect.cs
- PersonalizationDictionary.cs
- PageBreakRecord.cs
- RtType.cs
- QueryExecutionOption.cs
- FloatMinMaxAggregationOperator.cs
- LineInfo.cs
- NeutralResourcesLanguageAttribute.cs
- ConfigurationStrings.cs
- DesignTimeParseData.cs
- StyleSheetDesigner.cs
- MissingFieldException.cs
- FlowDocumentPaginator.cs
- ResolveResponseInfo.cs
- FigureParagraph.cs
- EntityReference.cs
- HeaderPanel.cs
- BufferedGraphicsContext.cs
- BitmapData.cs
- BufferCache.cs
- SecurityUtils.cs
- regiisutil.cs
- NativeMethods.cs
- TextTreeTextElementNode.cs
- XPathAxisIterator.cs
- PtsCache.cs
- BitmapDecoder.cs
- controlskin.cs
- InvokeMethod.cs
- RadioButtonStandardAdapter.cs
- ErrorHandlingAcceptor.cs
- InteropAutomationProvider.cs
- StrongNameIdentityPermission.cs
- DoubleSumAggregationOperator.cs
- RegexEditorDialog.cs
- AttributeUsageAttribute.cs
- DataContractSerializerOperationBehavior.cs
- SqlDataRecord.cs
- FunctionDescription.cs
- StrongNameIdentityPermission.cs
- ClientFormsAuthenticationCredentials.cs
- ImportCatalogPart.cs
- WindowsFormsSectionHandler.cs
- TraceData.cs
- ToolTip.cs
- ConfigXmlElement.cs
- StreamWithDictionary.cs
- ConnectionManager.cs
- EntityCommand.cs
- ColumnCollection.cs
- PolicyLevel.cs
- PropertyPushdownHelper.cs
- WindowsListViewItem.cs
- DesignTimeXamlWriter.cs
- Parsers.cs
- Equal.cs
- Input.cs
- MethodToken.cs
- ReliableSession.cs
- SiteOfOriginPart.cs
- TextBoxRenderer.cs
- ParentQuery.cs
- HitTestFilterBehavior.cs
- sqlpipe.cs
- XPathAncestorIterator.cs
- SendReply.cs
- NetworkInformationPermission.cs
- ResourceProperty.cs
- NgenServicingAttributes.cs
- AppSettingsExpressionBuilder.cs
- CallbackValidatorAttribute.cs
- DayRenderEvent.cs
- MediaContext.cs
- PropertyDescriptor.cs
- SmtpTransport.cs
- Menu.cs
- WeakRefEnumerator.cs