Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Configuration / 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
- CurrentTimeZone.cs
- MaskInputRejectedEventArgs.cs
- InstanceKeyCollisionException.cs
- Validator.cs
- TextInfo.cs
- ContainerFilterService.cs
- ReferenceList.cs
- ScriptingSectionGroup.cs
- XmlILAnnotation.cs
- VirtualPath.cs
- HtmlAnchor.cs
- GridViewSelectEventArgs.cs
- CodeTryCatchFinallyStatement.cs
- ResourcesBuildProvider.cs
- DynamicValidator.cs
- PageContentAsyncResult.cs
- OdbcCommandBuilder.cs
- MetaForeignKeyColumn.cs
- CodeDesigner.cs
- ToolStripItemClickedEventArgs.cs
- RoutedCommand.cs
- SendMailErrorEventArgs.cs
- recordstatefactory.cs
- ExpressionParser.cs
- RtfFormatStack.cs
- TableCellAutomationPeer.cs
- AutomationIdentifier.cs
- CompilerError.cs
- LOSFormatter.cs
- Transaction.cs
- HttpPostLocalhostServerProtocol.cs
- ImageIndexConverter.cs
- XmlMtomWriter.cs
- ProxyWebPartManager.cs
- ObjectKeyFrameCollection.cs
- EventLogPermission.cs
- IIS7UserPrincipal.cs
- ReachUIElementCollectionSerializerAsync.cs
- CheckBoxBaseAdapter.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- SchemaElementDecl.cs
- CommandSet.cs
- StringReader.cs
- ControlCachePolicy.cs
- TextBoxAutoCompleteSourceConverter.cs
- CommandPlan.cs
- ExpressionVisitorHelpers.cs
- PageContentAsyncResult.cs
- SiteMapSection.cs
- XmlUrlResolver.cs
- Lease.cs
- StylusCaptureWithinProperty.cs
- RemoteWebConfigurationHost.cs
- ObjectDataSource.cs
- ToolStripPanelRow.cs
- TargetException.cs
- ProgressBarHighlightConverter.cs
- InvalidEnumArgumentException.cs
- TextServicesLoader.cs
- X509RecipientCertificateServiceElement.cs
- ScriptControlManager.cs
- DetailsViewPagerRow.cs
- XmlSchemaDatatype.cs
- HtmlTitle.cs
- PrimitiveType.cs
- ACL.cs
- ProtocolViolationException.cs
- NetTcpSecurityElement.cs
- DataStorage.cs
- ContourSegment.cs
- BooleanConverter.cs
- GridItemPattern.cs
- PropertyCollection.cs
- LogLogRecordHeader.cs
- SiteMapDataSource.cs
- Main.cs
- PeerResolver.cs
- PropertyEmitter.cs
- DataSourceProvider.cs
- DynamicValueConverter.cs
- ModifiableIteratorCollection.cs
- TransformFinalBlockRequest.cs
- OracleParameter.cs
- CompressionTransform.cs
- AspNetSynchronizationContext.cs
- ActivityUtilities.cs
- InputScopeManager.cs
- _OverlappedAsyncResult.cs
- DataViewSetting.cs
- NameValueSectionHandler.cs
- HtmlInputSubmit.cs
- BamlBinaryReader.cs
- WebPartVerb.cs
- OLEDB_Enum.cs
- CachingHintValidation.cs
- OutputCacheSection.cs
- BrowserDefinition.cs
- BasicHttpMessageCredentialType.cs
- PathGeometry.cs
- sqlinternaltransaction.cs