Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Sys / 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
- TemplateControlCodeDomTreeGenerator.cs
- EditorOptionAttribute.cs
- EnterpriseServicesHelper.cs
- FixedSOMTableCell.cs
- SiteMapDesignerDataSourceView.cs
- SelectionChangedEventArgs.cs
- SqlErrorCollection.cs
- BypassElementCollection.cs
- TypedDataSourceCodeGenerator.cs
- WebPartConnectionsCloseVerb.cs
- ControlPager.cs
- WCFServiceClientProxyGenerator.cs
- ActivityDesignerHelper.cs
- XmlAnyAttributeAttribute.cs
- SyndicationDeserializer.cs
- DataPagerFieldItem.cs
- PropertyConverter.cs
- OleDbDataAdapter.cs
- MatrixStack.cs
- XmlTextWriter.cs
- _AutoWebProxyScriptHelper.cs
- IndicFontClient.cs
- DataBinding.cs
- DateTime.cs
- QilGenerator.cs
- FileLogRecordHeader.cs
- RenderingEventArgs.cs
- ToolboxComponentsCreatedEventArgs.cs
- FileLogRecordHeader.cs
- PolicyException.cs
- XmlSchemaObject.cs
- CacheForPrimitiveTypes.cs
- SystemThemeKey.cs
- ListenerConnectionModeReader.cs
- ConfigsHelper.cs
- SoapConverter.cs
- ToolboxItemFilterAttribute.cs
- XmlWrappingReader.cs
- Function.cs
- PartEditor.cs
- LinkButton.cs
- _ListenerRequestStream.cs
- PrintDialog.cs
- CommandPlan.cs
- ObjectDataSourceSelectingEventArgs.cs
- GridViewDeletedEventArgs.cs
- DropTarget.cs
- AttributeCollection.cs
- BindStream.cs
- MsdtcClusterUtils.cs
- AnnotationObservableCollection.cs
- FlowDocumentPage.cs
- X509ChainElement.cs
- Deflater.cs
- ValueUtilsSmi.cs
- lengthconverter.cs
- AssertUtility.cs
- PieceNameHelper.cs
- HashAlgorithm.cs
- DbConnectionPoolGroup.cs
- DependencyPropertyDescriptor.cs
- WebResourceAttribute.cs
- Rfc2898DeriveBytes.cs
- TextCollapsingProperties.cs
- TransactionsSectionGroup.cs
- Delay.cs
- WebContext.cs
- ErrorHandler.cs
- RoleGroup.cs
- CodePageEncoding.cs
- AdjustableArrowCap.cs
- DebugControllerThread.cs
- CorrelationManager.cs
- UrlMappingsSection.cs
- MembershipValidatePasswordEventArgs.cs
- counter.cs
- ZipIOLocalFileBlock.cs
- GenericUI.cs
- OutOfProcStateClientManager.cs
- HtmlTableRow.cs
- MenuCommand.cs
- DBAsyncResult.cs
- SqlBulkCopyColumnMappingCollection.cs
- PriorityBindingExpression.cs
- PassportPrincipal.cs
- DynamicQueryableWrapper.cs
- DataTableClearEvent.cs
- MemberExpression.cs
- DelegatingConfigHost.cs
- GridLengthConverter.cs
- FontWeights.cs
- AttachedAnnotationChangedEventArgs.cs
- ReferenceEqualityComparer.cs
- GlyphCache.cs
- XmlReaderSettings.cs
- TextDecorationCollection.cs
- RouteParser.cs
- DataObjectCopyingEventArgs.cs
- MD5.cs
- SqlHelper.cs