Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ApplicationManager.cs
- PageRanges.cs
- WindowsFormsEditorServiceHelper.cs
- CryptoStream.cs
- ConfigurationException.cs
- HighlightComponent.cs
- SqlAliaser.cs
- WebReferencesBuildProvider.cs
- XmlSchemaSimpleTypeUnion.cs
- BasicHttpBindingElement.cs
- ComMethodElement.cs
- CategoryAttribute.cs
- NativeMethods.cs
- ReadOnlyPropertyMetadata.cs
- BmpBitmapDecoder.cs
- EntitySet.cs
- UIPermission.cs
- TextStore.cs
- xsdvalidator.cs
- WebPartUserCapability.cs
- Size.cs
- MissingFieldException.cs
- XamlNamespaceHelper.cs
- TrustSection.cs
- TextParaClient.cs
- LocalFileSettingsProvider.cs
- BitmapPalette.cs
- StringInfo.cs
- HTMLTagNameToTypeMapper.cs
- AppDomainManager.cs
- ContractBase.cs
- ControlCollection.cs
- DesignerWidgets.cs
- NumericUpDownAccelerationCollection.cs
- DecoderReplacementFallback.cs
- CommentEmitter.cs
- LogEntryHeaderv1Deserializer.cs
- _ListenerResponseStream.cs
- SafeFindHandle.cs
- GridViewUpdatedEventArgs.cs
- IntegerFacetDescriptionElement.cs
- NodeLabelEditEvent.cs
- OpenTypeLayoutCache.cs
- GridLengthConverter.cs
- ParameterModifier.cs
- Oci.cs
- Sql8ConformanceChecker.cs
- XmlImplementation.cs
- StylusPoint.cs
- Point3DAnimationUsingKeyFrames.cs
- ParseHttpDate.cs
- TextParagraphProperties.cs
- FormatConvertedBitmap.cs
- TypeLoadException.cs
- PersonalizableAttribute.cs
- Attributes.cs
- ObjectContext.cs
- ItemChangedEventArgs.cs
- InternalCache.cs
- WebBrowsableAttribute.cs
- XamlSerializer.cs
- Operand.cs
- LicenseContext.cs
- DataGridRelationshipRow.cs
- NotifyParentPropertyAttribute.cs
- FusionWrap.cs
- CursorInteropHelper.cs
- WebSysDescriptionAttribute.cs
- ResourcePart.cs
- CheckableControlBaseAdapter.cs
- LocalBuilder.cs
- StyleCollection.cs
- AesCryptoServiceProvider.cs
- IProducerConsumerCollection.cs
- ContractHandle.cs
- CodeComment.cs
- XPathBinder.cs
- CaseInsensitiveComparer.cs
- KeyedCollection.cs
- HttpDebugHandler.cs
- CalculatedColumn.cs
- XmlDocumentFragment.cs
- URLString.cs
- TrackingProfile.cs
- RectangleGeometry.cs
- SmtpReplyReader.cs
- SerialPinChanges.cs
- ScrollItemProviderWrapper.cs
- XmlException.cs
- EventDescriptor.cs
- WebMessageBodyStyleHelper.cs
- SHA512.cs
- KeyValueInternalCollection.cs
- DataGridViewCell.cs
- RijndaelManagedTransform.cs
- ElementUtil.cs
- FixedSOMElement.cs
- FixedSOMTable.cs
- StringFreezingAttribute.cs
- AdornerDecorator.cs