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
- TitleStyle.cs
- XmlDocumentFragment.cs
- Durable.cs
- TransformCryptoHandle.cs
- EntityViewGenerationAttribute.cs
- TextServicesCompartmentContext.cs
- FrameAutomationPeer.cs
- SignedXml.cs
- XmlRootAttribute.cs
- ContainerFilterService.cs
- EventWaitHandleSecurity.cs
- UniqueIdentifierService.cs
- FacetValueContainer.cs
- DataBoundControlHelper.cs
- BindingMemberInfo.cs
- InvalidFilterCriteriaException.cs
- ConvertEvent.cs
- Pen.cs
- RepeatButtonAutomationPeer.cs
- TypedDataSetSchemaImporterExtension.cs
- PageThemeBuildProvider.cs
- UIElement3D.cs
- EpmContentSerializerBase.cs
- KerberosTicketHashIdentifierClause.cs
- LayoutEditorPart.cs
- EnumType.cs
- SocketInformation.cs
- TemplateInstanceAttribute.cs
- ToolStripContentPanelRenderEventArgs.cs
- MasterPageCodeDomTreeGenerator.cs
- BitmapSizeOptions.cs
- EventTrigger.cs
- DataPagerCommandEventArgs.cs
- StructuredTypeEmitter.cs
- DataGridViewElement.cs
- DigestTraceRecordHelper.cs
- ValueChangedEventManager.cs
- TreeNodeSelectionProcessor.cs
- ContentFileHelper.cs
- ResetableIterator.cs
- GenerateTemporaryAssemblyTask.cs
- WindowPatternIdentifiers.cs
- GlobalProxySelection.cs
- InvokeSchedule.cs
- CommandPlan.cs
- HostSecurityManager.cs
- XmlSignificantWhitespace.cs
- EdmRelationshipRoleAttribute.cs
- PageSettings.cs
- ColorInterpolationModeValidation.cs
- TypeResolver.cs
- documentation.cs
- RowsCopiedEventArgs.cs
- ColumnMap.cs
- Helper.cs
- ListViewHitTestInfo.cs
- FontInfo.cs
- FatalException.cs
- KnownColorTable.cs
- WindowsRebar.cs
- CustomAttributeBuilder.cs
- DocobjHost.cs
- ProxyWebPartManagerDesigner.cs
- StateManagedCollection.cs
- MobilePage.cs
- GcSettings.cs
- HttpCacheParams.cs
- LoginView.cs
- UpnEndpointIdentity.cs
- TextDecorationLocationValidation.cs
- HybridCollection.cs
- TimeSpanFormat.cs
- SafeNativeMethods.cs
- SynthesizerStateChangedEventArgs.cs
- MissingMethodException.cs
- BitVector32.cs
- LiteralTextParser.cs
- SuppressMessageAttribute.cs
- BitmapEffectGroup.cs
- BinaryParser.cs
- XmlBuffer.cs
- ServiceMoniker.cs
- RequestQueue.cs
- EncodingTable.cs
- BaseTemplateCodeDomTreeGenerator.cs
- SecurityDescriptor.cs
- ConfigurationSettings.cs
- CellConstantDomain.cs
- SequentialWorkflowHeaderFooter.cs
- FilteredAttributeCollection.cs
- ListSortDescriptionCollection.cs
- DataControlField.cs
- RequestDescription.cs
- TimeSpanValidatorAttribute.cs
- Column.cs
- CommandHelpers.cs
- ReferenceConverter.cs
- MimeTypePropertyAttribute.cs
- SpecialNameAttribute.cs
- BitmapEffectOutputConnector.cs