Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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; } } } // 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
- DataGridViewColumnTypePicker.cs
- ACE.cs
- CodeCommentStatement.cs
- WebControlAdapter.cs
- IUnknownConstantAttribute.cs
- FontFamilyValueSerializer.cs
- __Filters.cs
- InfocardChannelParameter.cs
- ColumnCollection.cs
- InputLangChangeEvent.cs
- XmlNodeChangedEventManager.cs
- DeclaredTypeValidator.cs
- PopOutPanel.cs
- ListDictionary.cs
- NotFiniteNumberException.cs
- DecoderExceptionFallback.cs
- TextEditorMouse.cs
- MetabaseSettingsIis7.cs
- Image.cs
- DiscoveryClientProtocol.cs
- WebAdminConfigurationHelper.cs
- MatrixTransform3D.cs
- InputLanguage.cs
- TabControlEvent.cs
- NetworkAddressChange.cs
- RegionInfo.cs
- XmlDictionaryReader.cs
- Tag.cs
- SecurityRuntime.cs
- BamlWriter.cs
- AsymmetricKeyExchangeDeformatter.cs
- HtmlEmptyTagControlBuilder.cs
- EditorAttributeInfo.cs
- ISAPIWorkerRequest.cs
- SourceSwitch.cs
- DataViewListener.cs
- PenLineCapValidation.cs
- DeadCharTextComposition.cs
- ValidationPropertyAttribute.cs
- DefaultProxySection.cs
- IndentedTextWriter.cs
- XPathQilFactory.cs
- HeaderCollection.cs
- recordstate.cs
- ColorKeyFrameCollection.cs
- AsyncResult.cs
- XmlSchemaAttribute.cs
- UrlMappingCollection.cs
- GraphicsContainer.cs
- WeakHashtable.cs
- DefinitionUpdate.cs
- DataGridViewCellLinkedList.cs
- AdCreatedEventArgs.cs
- VectorValueSerializer.cs
- RuntimeWrappedException.cs
- StorageAssociationTypeMapping.cs
- CompilerScope.cs
- ProjectionQueryOptionExpression.cs
- EntityDataSourceContainerNameConverter.cs
- CqlQuery.cs
- TriggerCollection.cs
- ColorIndependentAnimationStorage.cs
- NullableDecimalSumAggregationOperator.cs
- sqlmetadatafactory.cs
- DurableMessageDispatchInspector.cs
- Faults.cs
- GridViewColumnHeaderAutomationPeer.cs
- NativeCppClassAttribute.cs
- RequestQueue.cs
- Cursor.cs
- QuaternionAnimationBase.cs
- HtmlFormWrapper.cs
- SafeTokenHandle.cs
- HyperLinkColumn.cs
- ObjectDataSourceChooseTypePanel.cs
- CalendarKeyboardHelper.cs
- UniformGrid.cs
- DataGridViewTextBoxCell.cs
- Reference.cs
- GeneralTransform.cs
- IdentityVerifier.cs
- ClientRuntimeConfig.cs
- GroupBox.cs
- TextBoxAutoCompleteSourceConverter.cs
- Padding.cs
- _FixedSizeReader.cs
- WebPartConnection.cs
- LinqDataSource.cs
- AutomationPropertyInfo.cs
- SendMailErrorEventArgs.cs
- PasswordValidationException.cs
- FunctionDetailsReader.cs
- WaitHandle.cs
- DecimalAnimation.cs
- MessageDispatch.cs
- StorageBasedPackageProperties.cs
- CqlErrorHelper.cs
- MsmqInputChannelBase.cs
- ColorConvertedBitmapExtension.cs
- LinkButton.cs