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
- TypeLibConverter.cs
- RuleSetBrowserDialog.cs
- TimeStampChecker.cs
- Drawing.cs
- PerformanceCounterCategory.cs
- FontFamilyConverter.cs
- ShapeTypeface.cs
- BitmapCache.cs
- AesCryptoServiceProvider.cs
- BinHexEncoder.cs
- MiniLockedBorderGlyph.cs
- ReaderWriterLock.cs
- CodeCompileUnit.cs
- WebRequest.cs
- HopperCache.cs
- DataGridParentRows.cs
- DataControlPagerLinkButton.cs
- UIPropertyMetadata.cs
- TrustManagerPromptUI.cs
- SocketInformation.cs
- AdapterSwitches.cs
- FormsAuthenticationUser.cs
- GenericEnumConverter.cs
- KeyValueConfigurationCollection.cs
- AccessDataSourceView.cs
- ContainerSelectorActiveEvent.cs
- XmlStreamNodeWriter.cs
- Emitter.cs
- CodeObject.cs
- CultureNotFoundException.cs
- CustomLineCap.cs
- RenderData.cs
- FormattedTextSymbols.cs
- RefreshEventArgs.cs
- ExpanderAutomationPeer.cs
- OciLobLocator.cs
- TextRange.cs
- ObjectIDGenerator.cs
- Constraint.cs
- Matrix3DValueSerializer.cs
- Localizer.cs
- TableItemPatternIdentifiers.cs
- LexicalChunk.cs
- OdbcCommand.cs
- InsufficientExecutionStackException.cs
- DictionarySurrogate.cs
- XmlSchemaFacet.cs
- ExtendLockCommand.cs
- DesignerHelpers.cs
- TextCompositionEventArgs.cs
- FilterQuery.cs
- LoadMessageLogger.cs
- CodeTypeParameter.cs
- PropertyChangingEventArgs.cs
- ControlPropertyNameConverter.cs
- WorkflowDesignerMessageFilter.cs
- DispatcherSynchronizationContext.cs
- ErrorWebPart.cs
- TempFiles.cs
- WpfKnownMember.cs
- SystemWebSectionGroup.cs
- ContractComponent.cs
- BinaryNode.cs
- Random.cs
- TcpPortSharing.cs
- ConfigurationSettings.cs
- PasswordRecoveryDesigner.cs
- Substitution.cs
- ActivityDesignerResources.cs
- Expression.cs
- HwndMouseInputProvider.cs
- MetadataCache.cs
- PropertyInfoSet.cs
- JavaScriptSerializer.cs
- HTMLTextWriter.cs
- DictionaryBase.cs
- Model3D.cs
- SelectedDatesCollection.cs
- CompressEmulationStream.cs
- XmlValidatingReader.cs
- File.cs
- Page.cs
- CompositeActivityDesigner.cs
- DataGridViewButtonColumn.cs
- MonitoringDescriptionAttribute.cs
- FlowDocumentFormatter.cs
- WmlPhoneCallAdapter.cs
- FormViewDeletedEventArgs.cs
- SqlDataSourceCache.cs
- XmlSchemaInfo.cs
- TrustManager.cs
- BinaryMethodMessage.cs
- Button.cs
- SiteMapNode.cs
- MeasureItemEvent.cs
- DecimalAnimationBase.cs
- Vector.cs
- SigningProgress.cs
- figurelengthconverter.cs
- MergeFilterQuery.cs