Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- CellQuery.cs
- GZipStream.cs
- SqlClientMetaDataCollectionNames.cs
- CodeTypeParameterCollection.cs
- CodeIdentifiers.cs
- CompiledIdentityConstraint.cs
- ProxyWebPartManager.cs
- unsafeIndexingFilterStream.cs
- DbParameterCollectionHelper.cs
- FunctionUpdateCommand.cs
- ADConnectionHelper.cs
- TextServicesManager.cs
- IdleTimeoutMonitor.cs
- nulltextnavigator.cs
- TraceProvider.cs
- Operators.cs
- ThreadInterruptedException.cs
- ToolboxItem.cs
- _ContextAwareResult.cs
- TokenizerHelper.cs
- TextParagraphCache.cs
- RangeValueProviderWrapper.cs
- IntSumAggregationOperator.cs
- CookieProtection.cs
- Panel.cs
- EnterpriseServicesHelper.cs
- DrawingCollection.cs
- BasicHttpMessageCredentialType.cs
- StringCollectionMarkupSerializer.cs
- SQLDecimalStorage.cs
- FileDialog_Vista.cs
- Parameter.cs
- XamlStyleSerializer.cs
- ConstructorNeedsTagAttribute.cs
- figurelengthconverter.cs
- ExecutionContext.cs
- IconHelper.cs
- DependencyPropertyKind.cs
- RoleServiceManager.cs
- Encoder.cs
- CodeGenerator.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- ResourceReader.cs
- ListViewAutomationPeer.cs
- WorkflowServiceHostFactory.cs
- EnumConverter.cs
- WeakReferenceList.cs
- DecimalAnimation.cs
- FlowDocumentPage.cs
- TextContainerChangeEventArgs.cs
- WindowCollection.cs
- LightweightCodeGenerator.cs
- ValueUnavailableException.cs
- IdentifierCreationService.cs
- InternalControlCollection.cs
- ObjectListShowCommandsEventArgs.cs
- MediaTimeline.cs
- DynamicAttribute.cs
- XamlInt32CollectionSerializer.cs
- SpeechDetectedEventArgs.cs
- SchemaRegistration.cs
- HttpModuleActionCollection.cs
- TreeView.cs
- IPAddress.cs
- CreateUserWizard.cs
- ConstructorExpr.cs
- BoolExpression.cs
- OutputChannel.cs
- WebPartCancelEventArgs.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- UnsettableComboBox.cs
- DataGridViewColumn.cs
- Registry.cs
- XmlAttribute.cs
- Style.cs
- XPathQilFactory.cs
- BamlVersionHeader.cs
- OdbcInfoMessageEvent.cs
- ZoneIdentityPermission.cs
- coordinatorfactory.cs
- ConfigurationElementCollection.cs
- EmptyControlCollection.cs
- PackWebResponse.cs
- SecurityHelper.cs
- NonceToken.cs
- log.cs
- Events.cs
- IISMapPath.cs
- DefaultPropertyAttribute.cs
- FilterException.cs
- XmlILIndex.cs
- ServiceObjectContainer.cs
- ConfigXmlElement.cs
- MissingMethodException.cs
- CharUnicodeInfo.cs
- NumberFormatInfo.cs
- XmlSchemaIdentityConstraint.cs
- CodeNamespaceImport.cs
- ComplexPropertyEntry.cs
- RuntimeConfigLKG.cs