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
- SignatureToken.cs
- PipelineModuleStepContainer.cs
- DataObjectFieldAttribute.cs
- ZipIOLocalFileDataDescriptor.cs
- MouseGestureConverter.cs
- GridViewRowPresenterBase.cs
- DataGridViewSelectedRowCollection.cs
- BackgroundWorker.cs
- DocumentGrid.cs
- BoundColumn.cs
- PageParserFilter.cs
- ToolStripRendererSwitcher.cs
- Behavior.cs
- FocusTracker.cs
- X509ScopedServiceCertificateElement.cs
- ComplexPropertyEntry.cs
- XamlLoadErrorInfo.cs
- Permission.cs
- AsymmetricAlgorithm.cs
- EntityProxyTypeInfo.cs
- XmlNotation.cs
- MaskedTextBoxTextEditorDropDown.cs
- DataGridViewCell.cs
- WebBodyFormatMessageProperty.cs
- RoleManagerSection.cs
- MessagePropertyVariants.cs
- FontInfo.cs
- elementinformation.cs
- ObjectDisposedException.cs
- ByteArrayHelperWithString.cs
- TypeResolvingOptions.cs
- ChannelServices.cs
- AsymmetricSecurityProtocol.cs
- PathNode.cs
- FusionWrap.cs
- ServiceNameElement.cs
- TrackingMemoryStream.cs
- SizeChangedEventArgs.cs
- RenderingBiasValidation.cs
- SafeCryptoHandles.cs
- DataGridViewRowPrePaintEventArgs.cs
- RuntimeCompatibilityAttribute.cs
- CodeDOMUtility.cs
- DivideByZeroException.cs
- SapiRecognizer.cs
- EntityCommandExecutionException.cs
- DuplicateWaitObjectException.cs
- PngBitmapEncoder.cs
- BitmapSizeOptions.cs
- EncryptedData.cs
- DefaultValueConverter.cs
- WbemException.cs
- _HelperAsyncResults.cs
- ResourceExpressionBuilder.cs
- TypeResolver.cs
- InputProcessorProfilesLoader.cs
- PreProcessInputEventArgs.cs
- OrderedDictionary.cs
- HtmlInputControl.cs
- Activator.cs
- StatusBarPanelClickEvent.cs
- StateMachineSubscription.cs
- Invariant.cs
- QilInvokeLateBound.cs
- CodeStatementCollection.cs
- TextUtf8RawTextWriter.cs
- SqlConnectionPoolGroupProviderInfo.cs
- SystemNetHelpers.cs
- UnknownBitmapDecoder.cs
- BevelBitmapEffect.cs
- ModuleBuilderData.cs
- MultiPageTextView.cs
- TrackingMemoryStream.cs
- WindowsTokenRoleProvider.cs
- AssemblySettingAttributes.cs
- EntitySetBaseCollection.cs
- ToolStripDropTargetManager.cs
- MimeMultiPart.cs
- ISSmlParser.cs
- DataKey.cs
- PngBitmapDecoder.cs
- WebPartEditVerb.cs
- FontStretchConverter.cs
- RegisteredExpandoAttribute.cs
- WinEventWrap.cs
- Or.cs
- GenericEnumConverter.cs
- OdbcConnectionPoolProviderInfo.cs
- SafeCryptoHandles.cs
- SHA1CryptoServiceProvider.cs
- NetCodeGroup.cs
- DispatchChannelSink.cs
- MediaContextNotificationWindow.cs
- CapabilitiesState.cs
- AbstractSvcMapFileLoader.cs
- WindowsListViewGroupSubsetLink.cs
- CachingHintValidation.cs
- ObjectRef.cs
- SqlMethodCallConverter.cs
- HuffCodec.cs