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
- Stacktrace.cs
- GeneralTransform2DTo3DTo2D.cs
- UrlMappingCollection.cs
- ErrorFormatterPage.cs
- _IPv6Address.cs
- ProtocolsConfiguration.cs
- HttpFileCollection.cs
- TableItemStyle.cs
- PathSegment.cs
- DurableInstanceContextProvider.cs
- COM2IDispatchConverter.cs
- GenericTypeParameterConverter.cs
- ParameterElementCollection.cs
- ExecutionEngineException.cs
- StatusBarDrawItemEvent.cs
- SqlCrossApplyToCrossJoin.cs
- DrawingBrush.cs
- WindowHideOrCloseTracker.cs
- DataTablePropertyDescriptor.cs
- DispatchWrapper.cs
- CodeDOMUtility.cs
- mediaeventshelper.cs
- AsyncOperationLifetimeManager.cs
- dtdvalidator.cs
- RuntimeHelpers.cs
- HideDisabledControlAdapter.cs
- SkewTransform.cs
- Vector3DAnimation.cs
- PageTheme.cs
- OperatingSystem.cs
- BitmapFrameDecode.cs
- WebPartAddingEventArgs.cs
- Thread.cs
- CodeCommentStatement.cs
- RbTree.cs
- TypeListConverter.cs
- SelectedGridItemChangedEvent.cs
- EventHandlersStore.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- FormViewUpdateEventArgs.cs
- Rectangle.cs
- MappingItemCollection.cs
- RequestTimeoutManager.cs
- CompositeScriptReferenceEventArgs.cs
- WindowsSlider.cs
- XmlElementAttribute.cs
- CollectionType.cs
- IISMapPath.cs
- PreviousTrackingServiceAttribute.cs
- DeviceOverridableAttribute.cs
- ContainerVisual.cs
- HttpResponseHeader.cs
- StreamInfo.cs
- SymbolMethod.cs
- Errors.cs
- TextSelectionHelper.cs
- activationcontext.cs
- User.cs
- DtdParser.cs
- ManagementScope.cs
- Array.cs
- DataGridTableCollection.cs
- PolicyChain.cs
- QuadTree.cs
- SecureConversationDriver.cs
- Util.cs
- XmlSignatureManifest.cs
- SettingsSection.cs
- ResourceProviderFactory.cs
- ServiceModelConfigurationSectionGroup.cs
- controlskin.cs
- CapabilitiesSection.cs
- ValueExpressions.cs
- ErrorLog.cs
- TagNameToTypeMapper.cs
- HttpCacheParams.cs
- Point3D.cs
- PublisherMembershipCondition.cs
- MimePart.cs
- CoTaskMemUnicodeSafeHandle.cs
- NativeMethods.cs
- SqlUtils.cs
- Point3DConverter.cs
- CompiledELinqQueryState.cs
- DataControlFieldTypeEditor.cs
- AstTree.cs
- SurrogateSelector.cs
- __Filters.cs
- IconBitmapDecoder.cs
- Base64Stream.cs
- RbTree.cs
- LockedHandleGlyph.cs
- CheckBoxStandardAdapter.cs
- SendingRequestEventArgs.cs
- Brush.cs
- UInt64Storage.cs
- ExpressionLink.cs
- ImageIndexConverter.cs
- CodeBlockBuilder.cs
- PromptBuilder.cs