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
- StyleCollection.cs
- MetadataConversionError.cs
- TimelineGroup.cs
- DataBoundControlHelper.cs
- ValidationHelper.cs
- ListViewPagedDataSource.cs
- CompilationLock.cs
- XamlGridLengthSerializer.cs
- ResourceIDHelper.cs
- DataServiceHostFactory.cs
- MD5CryptoServiceProvider.cs
- ISO2022Encoding.cs
- RMEnrollmentPage3.cs
- BindingExpression.cs
- GroupBox.cs
- BaseValidatorDesigner.cs
- SerializationObjectManager.cs
- TreeViewEvent.cs
- ConnectorRouter.cs
- Tracer.cs
- Timeline.cs
- milrender.cs
- EntityClassGenerator.cs
- ContextMenuService.cs
- DetailsViewCommandEventArgs.cs
- DataServiceProcessingPipelineEventArgs.cs
- EventLevel.cs
- XmlWriterDelegator.cs
- ISFClipboardData.cs
- LoginStatusDesigner.cs
- XmlSchemaSimpleContentRestriction.cs
- GestureRecognitionResult.cs
- ZipIOLocalFileBlock.cs
- LocatorPart.cs
- MediaScriptCommandRoutedEventArgs.cs
- CalculatedColumn.cs
- TimerElapsedEvenArgs.cs
- UTF7Encoding.cs
- SuppressMessageAttribute.cs
- OracleRowUpdatingEventArgs.cs
- ToggleButtonAutomationPeer.cs
- SQLInt32Storage.cs
- OracleBinary.cs
- ReliableMessagingHelpers.cs
- GetImportedCardRequest.cs
- ConfigurationManagerHelperFactory.cs
- DelegatedStream.cs
- NavigationWindowAutomationPeer.cs
- ScrollChangedEventArgs.cs
- ExpanderAutomationPeer.cs
- SchemaImporterExtensionElement.cs
- Literal.cs
- SqlConnectionPoolGroupProviderInfo.cs
- XmlSchemaSubstitutionGroup.cs
- TranslateTransform.cs
- TimeSpan.cs
- GridViewRowPresenterBase.cs
- WebPermission.cs
- NumberFormatter.cs
- EntityDataSourceDesignerHelper.cs
- RelOps.cs
- TdsParserStaticMethods.cs
- DebuggerAttributes.cs
- ResourceExpressionEditor.cs
- Resources.Designer.cs
- TCPClient.cs
- OleDbException.cs
- XPathArrayIterator.cs
- SymmetricKeyWrap.cs
- ConversionContext.cs
- RuntimeIdentifierPropertyAttribute.cs
- KeyInfo.cs
- TypeConverterMarkupExtension.cs
- DisplayNameAttribute.cs
- AutomationEvent.cs
- GlyphRun.cs
- AudioFileOut.cs
- DbConnectionPoolGroupProviderInfo.cs
- StickyNoteHelper.cs
- VariantWrapper.cs
- XmlTextAttribute.cs
- VersionedStream.cs
- TextEncodedRawTextWriter.cs
- DataKey.cs
- EpmContentSerializerBase.cs
- Atom10FormatterFactory.cs
- SoapSchemaImporter.cs
- DataGridViewComboBoxEditingControl.cs
- StaticSiteMapProvider.cs
- SecureStringHasher.cs
- TreeNodeCollection.cs
- Point3DAnimationBase.cs
- DetailsViewInsertedEventArgs.cs
- HttpApplication.cs
- LoopExpression.cs
- DBSqlParserTableCollection.cs
- ConfigurationElementProperty.cs
- WriteableBitmap.cs
- XmlQualifiedName.cs
- AsyncOperationLifetimeManager.cs