Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ScriptDescriptor.cs
- MemoryPressure.cs
- MemoryRecordBuffer.cs
- AttributeCollection.cs
- FileInfo.cs
- InputReportEventArgs.cs
- EventHandlersStore.cs
- StorageComplexPropertyMapping.cs
- DynamicRendererThreadManager.cs
- externdll.cs
- Blend.cs
- Events.cs
- ISAPIApplicationHost.cs
- GC.cs
- ImageIndexEditor.cs
- KeyedCollection.cs
- CompositeScriptReferenceEventArgs.cs
- DBPropSet.cs
- PeerToPeerException.cs
- FixedLineResult.cs
- CrossSiteScriptingValidation.cs
- AnimatedTypeHelpers.cs
- _HeaderInfo.cs
- TextDecorations.cs
- PropertyValueChangedEvent.cs
- CodeGeneratorOptions.cs
- ProgressPage.cs
- COAUTHINFO.cs
- PrivacyNoticeBindingElement.cs
- DbConnectionPoolIdentity.cs
- URLAttribute.cs
- NotCondition.cs
- MemberAssignment.cs
- TerminateDesigner.cs
- COM2TypeInfoProcessor.cs
- BinaryObjectInfo.cs
- DataColumnChangeEvent.cs
- dsa.cs
- TranslateTransform.cs
- ComponentConverter.cs
- OleDbConnectionFactory.cs
- SafeCoTaskMem.cs
- ListViewGroupItemCollection.cs
- XmlSchemaImporter.cs
- XPathParser.cs
- SqlNamer.cs
- SiteMapHierarchicalDataSourceView.cs
- SafeLibraryHandle.cs
- EntityViewGenerator.cs
- FileRegion.cs
- CellConstantDomain.cs
- LinqDataSource.cs
- HyperLinkColumn.cs
- AttachedPropertyMethodSelector.cs
- UnmanagedBitmapWrapper.cs
- EpmSyndicationContentSerializer.cs
- WorkflowInstance.cs
- ControlSerializer.cs
- TypeCacheManager.cs
- QilXmlReader.cs
- ConnectionManagementElementCollection.cs
- PrintEvent.cs
- TemplateControl.cs
- EndpointIdentityConverter.cs
- XmlNamespaceManager.cs
- NavigationWindow.cs
- AssemblySettingAttributes.cs
- NotSupportedException.cs
- MsmqIntegrationProcessProtocolHandler.cs
- InfoCardHelper.cs
- DbConvert.cs
- Hashtable.cs
- DataContractSerializerSection.cs
- EncodingInfo.cs
- UdpDuplexChannel.cs
- HyperLink.cs
- AssemblyNameProxy.cs
- FocusTracker.cs
- DefaultTraceListener.cs
- infer.cs
- DataGridViewBindingCompleteEventArgs.cs
- SchemaMerger.cs
- BrowserDefinitionCollection.cs
- IPHostEntry.cs
- BulletedListEventArgs.cs
- TraceContext.cs
- DataBindEngine.cs
- MSAAEventDispatcher.cs
- LinqDataSourceInsertEventArgs.cs
- Translator.cs
- WebPartEditVerb.cs
- ContentHostHelper.cs
- nulltextcontainer.cs
- LogWriteRestartAreaState.cs
- DbSourceParameterCollection.cs
- SetIterators.cs
- counter.cs
- ErrorWrapper.cs
- AuthenticationModuleElement.cs
- EnterpriseServicesHelper.cs