Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / System / Configuration / ConfigXmlAttribute.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataRowCollection.cs
- PageFunction.cs
- ResourceIDHelper.cs
- TrackingServices.cs
- SqlStatistics.cs
- HuffCodec.cs
- BinaryUtilClasses.cs
- SynchronousChannel.cs
- RefreshPropertiesAttribute.cs
- DocumentSequenceHighlightLayer.cs
- DataPager.cs
- XmlCharCheckingWriter.cs
- PartialCachingAttribute.cs
- ErrorWrapper.cs
- XmlSchemaChoice.cs
- ModelUIElement3D.cs
- ZipIOExtraFieldPaddingElement.cs
- FixedSOMTextRun.cs
- RecordBuilder.cs
- ObjectDisposedException.cs
- XPathCompileException.cs
- XNodeNavigator.cs
- DataGridViewAutoSizeModeEventArgs.cs
- ToolBar.cs
- PowerStatus.cs
- mda.cs
- UITypeEditor.cs
- TemplateControlBuildProvider.cs
- BindingMemberInfo.cs
- WebHeaderCollection.cs
- ServiceMetadataBehavior.cs
- RawMouseInputReport.cs
- PropertyNames.cs
- ConfigurationManagerInternalFactory.cs
- NativeWindow.cs
- StringSource.cs
- CategoryAttribute.cs
- DiagnosticEventProvider.cs
- DataGridSortingEventArgs.cs
- TraceLevelStore.cs
- ConversionHelper.cs
- COM2ExtendedUITypeEditor.cs
- MenuEventArgs.cs
- MulticastOption.cs
- Assembly.cs
- CompleteWizardStep.cs
- ContextMenuService.cs
- DataGridRelationshipRow.cs
- InfoCardKeyedHashAlgorithm.cs
- Rotation3DAnimationBase.cs
- _ConnectStream.cs
- EntityDataSourceQueryBuilder.cs
- ListViewSelectEventArgs.cs
- ValueOfAction.cs
- SHA256Managed.cs
- NavigationExpr.cs
- MaskedTextProvider.cs
- Rotation3DKeyFrameCollection.cs
- ListViewGroupCollectionEditor.cs
- ImmutableCommunicationTimeouts.cs
- CategoryNameCollection.cs
- HttpWebRequest.cs
- EpmSyndicationContentDeSerializer.cs
- MobileControl.cs
- Events.cs
- XmlAutoDetectWriter.cs
- OciLobLocator.cs
- PathFigure.cs
- X509Certificate2.cs
- XmlHelper.cs
- _NativeSSPI.cs
- EventWaitHandleSecurity.cs
- Vector3D.cs
- CharEntityEncoderFallback.cs
- DataPagerField.cs
- FormClosingEvent.cs
- CompositionAdorner.cs
- AspNetCompatibilityRequirementsMode.cs
- PtsCache.cs
- InputBinder.cs
- MessageAction.cs
- ResourceDisplayNameAttribute.cs
- XPathAncestorQuery.cs
- ProfileService.cs
- TouchFrameEventArgs.cs
- ExpressionBuilder.cs
- WebPartDisplayModeEventArgs.cs
- SeverityFilter.cs
- XPathNavigatorReader.cs
- CollectionConverter.cs
- XmlCDATASection.cs
- TypeElement.cs
- DataGridViewLayoutData.cs
- FontCacheUtil.cs
- UIPermission.cs
- MyContact.cs
- autovalidator.cs
- AdapterUtil.cs
- AsymmetricAlgorithm.cs
- PersistenceProviderElement.cs