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
- _emptywebproxy.cs
- OdbcException.cs
- HtmlControl.cs
- BrowsableAttribute.cs
- PropertyManager.cs
- KeySplineConverter.cs
- SignerInfo.cs
- DataSourceConverter.cs
- NavigationPropertyAccessor.cs
- XsltConvert.cs
- CompiledQuery.cs
- NonBatchDirectoryCompiler.cs
- WorkflowMarkupSerializer.cs
- WebBrowserNavigatedEventHandler.cs
- Brushes.cs
- StatusBar.cs
- UserControlBuildProvider.cs
- XmlSchemaException.cs
- WriteFileContext.cs
- XmlAttributeCache.cs
- NumericPagerField.cs
- PartManifestEntry.cs
- HostedTcpTransportManager.cs
- ConstrainedDataObject.cs
- DummyDataSource.cs
- KeyedCollection.cs
- ObjectSet.cs
- HtmlElement.cs
- SpecialNameAttribute.cs
- SingleAnimation.cs
- PrivacyNoticeBindingElement.cs
- DesignSurfaceEvent.cs
- TableLayoutSettingsTypeConverter.cs
- WebPartsPersonalization.cs
- HyperLink.cs
- HttpEncoderUtility.cs
- RemotingConfigParser.cs
- LedgerEntry.cs
- ButtonFieldBase.cs
- FragmentQueryProcessor.cs
- Interlocked.cs
- ContentPresenter.cs
- SoapSchemaMember.cs
- ProgressBarRenderer.cs
- ISFClipboardData.cs
- InvalidOleVariantTypeException.cs
- StartUpEventArgs.cs
- EntityDataSourceValidationException.cs
- QueryOperationResponseOfT.cs
- BindingValueChangedEventArgs.cs
- TextRangeAdaptor.cs
- XPathScanner.cs
- UtilityExtension.cs
- ValueUtilsSmi.cs
- ImageConverter.cs
- CompilerErrorCollection.cs
- SpotLight.cs
- CodeEntryPointMethod.cs
- CodeBinaryOperatorExpression.cs
- AnonymousIdentificationSection.cs
- IPeerNeighbor.cs
- DynamicMethod.cs
- Size3DValueSerializer.cs
- ChangeConflicts.cs
- ColorDialog.cs
- DataPagerFieldCommandEventArgs.cs
- XmlNamespaceDeclarationsAttribute.cs
- DataRowCollection.cs
- PaginationProgressEventArgs.cs
- Model3DGroup.cs
- MetadataWorkspace.cs
- IndentedWriter.cs
- InvalidAsynchronousStateException.cs
- EventHandlerList.cs
- DictionaryChange.cs
- TextPenaltyModule.cs
- UpdatableGenericsFeature.cs
- RedistVersionInfo.cs
- DataServiceEntityAttribute.cs
- NestPullup.cs
- GridEntryCollection.cs
- ConnectionStringsExpressionBuilder.cs
- PrivilegedConfigurationManager.cs
- NonSerializedAttribute.cs
- WebPartEditVerb.cs
- UnicodeEncoding.cs
- UnionCodeGroup.cs
- DataGridViewRowStateChangedEventArgs.cs
- XamlFrame.cs
- DoubleStorage.cs
- ImageMap.cs
- PropertyMapper.cs
- VisemeEventArgs.cs
- FormViewActionList.cs
- BamlRecordHelper.cs
- TextElementCollection.cs
- GridLengthConverter.cs
- ResourceLoader.cs
- CancelAsyncOperationRequest.cs
- CapabilitiesRule.cs