Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ForeignConstraint.cs
- ToolStripKeyboardHandlingService.cs
- ContextActivityUtils.cs
- SQLSingleStorage.cs
- OracleSqlParser.cs
- Form.cs
- DbModificationCommandTree.cs
- HelpInfo.cs
- relpropertyhelper.cs
- Decimal.cs
- CodeParameterDeclarationExpression.cs
- cookieexception.cs
- SspiSafeHandles.cs
- NetMsmqBindingCollectionElement.cs
- RuntimeTrackingProfile.cs
- Calendar.cs
- CharStorage.cs
- RSAPKCS1KeyExchangeFormatter.cs
- RemotingAttributes.cs
- DuplicateWaitObjectException.cs
- UnmanagedHandle.cs
- XPathExpr.cs
- UidManager.cs
- BaseValidatorDesigner.cs
- CalloutQueueItem.cs
- DrawingContextWalker.cs
- SqlGenericUtil.cs
- SourceExpressionException.cs
- DESCryptoServiceProvider.cs
- ConfigurationException.cs
- RegexEditorDialog.cs
- MultiPageTextView.cs
- TableChangeProcessor.cs
- IgnoreFlushAndCloseStream.cs
- DataControlLinkButton.cs
- PanningMessageFilter.cs
- OutputCacheSettingsSection.cs
- PatternMatcher.cs
- HelpEvent.cs
- PropertyValue.cs
- SafeThreadHandle.cs
- ResourceCategoryAttribute.cs
- FileChangesMonitor.cs
- ListViewUpdatedEventArgs.cs
- ToolboxDataAttribute.cs
- StyleBamlRecordReader.cs
- PrimaryKeyTypeConverter.cs
- dbdatarecord.cs
- Int64Storage.cs
- DBNull.cs
- UserControlDesigner.cs
- sqlser.cs
- MainMenu.cs
- UrlPropertyAttribute.cs
- ListBoxItem.cs
- METAHEADER.cs
- FontDriver.cs
- InputLanguage.cs
- UnmanagedBitmapWrapper.cs
- PlatformNotSupportedException.cs
- KeyEventArgs.cs
- XMLUtil.cs
- NetSectionGroup.cs
- ClientSettingsProvider.cs
- FlowLayoutSettings.cs
- ExternalFile.cs
- CodePageUtils.cs
- DocumentViewerHelper.cs
- SiteMap.cs
- XmlSchema.cs
- DeflateStreamAsyncResult.cs
- ProcessHostFactoryHelper.cs
- GroupBoxAutomationPeer.cs
- RectAnimationClockResource.cs
- RequestStatusBarUpdateEventArgs.cs
- FontDriver.cs
- DocumentGridPage.cs
- WpfSharedXamlSchemaContext.cs
- UIElement3D.cs
- WpfMemberInvoker.cs
- RoleService.cs
- Style.cs
- GridItem.cs
- ConfigurationValidatorAttribute.cs
- TraceFilter.cs
- ImageCodecInfo.cs
- QueryCacheEntry.cs
- GenericPrincipal.cs
- DocumentGrid.cs
- OdbcError.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- CopyCodeAction.cs
- BinaryConverter.cs
- SponsorHelper.cs
- TileModeValidation.cs
- LinqMaximalSubtreeNominator.cs
- ModelVisual3D.cs
- messageonlyhwndwrapper.cs
- DataTransferEventArgs.cs
- StateInitializationDesigner.cs