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
- Transform.cs
- HotSpotCollection.cs
- WebPartsPersonalization.cs
- EtwTrace.cs
- safesecurityhelperavalon.cs
- SqlCacheDependencySection.cs
- PersistenceProviderElement.cs
- RelationshipEnd.cs
- TraceHwndHost.cs
- PointLightBase.cs
- ContainerParagraph.cs
- WeakKeyDictionary.cs
- Delay.cs
- ReadOnlyMetadataCollection.cs
- SourceItem.cs
- CapiNative.cs
- ResolveRequestResponseAsyncResult.cs
- KeyMatchBuilder.cs
- ItemsControlAutomationPeer.cs
- Soap.cs
- ContainerUtilities.cs
- GeometryCombineModeValidation.cs
- StoragePropertyMapping.cs
- XPathNavigatorReader.cs
- FlowDocumentPageViewerAutomationPeer.cs
- FederatedMessageSecurityOverHttp.cs
- XmlEventCache.cs
- SqlParameter.cs
- EntryPointNotFoundException.cs
- Size3DValueSerializer.cs
- Ticks.cs
- JpegBitmapDecoder.cs
- Knowncolors.cs
- CacheAxisQuery.cs
- DataObjectSettingDataEventArgs.cs
- HostProtectionException.cs
- DataListItem.cs
- PerfCounters.cs
- XmlToDatasetMap.cs
- SimpleNameService.cs
- _Connection.cs
- TrustManager.cs
- AppDomainGrammarProxy.cs
- ExpandCollapseProviderWrapper.cs
- CustomAssemblyResolver.cs
- BuildProvider.cs
- ScriptMethodAttribute.cs
- DbConnectionStringCommon.cs
- PropertyRecord.cs
- SystemWebSectionGroup.cs
- MaterialGroup.cs
- _TransmitFileOverlappedAsyncResult.cs
- FixedPageProcessor.cs
- ExtractedStateEntry.cs
- OverrideMode.cs
- QilBinary.cs
- MILUtilities.cs
- BinaryObjectInfo.cs
- SerializeAbsoluteContext.cs
- SingleKeyFrameCollection.cs
- XmlAnyAttributeAttribute.cs
- DateTimeFormatInfo.cs
- WebUtil.cs
- ArraySubsetEnumerator.cs
- Filter.cs
- XmlSchemaSequence.cs
- Italic.cs
- DockPanel.cs
- SystemParameters.cs
- SoapHeaderAttribute.cs
- SQLBytes.cs
- DBCSCodePageEncoding.cs
- DispatcherObject.cs
- DataSetMappper.cs
- TextBoxBase.cs
- DocumentViewerAutomationPeer.cs
- SrgsElementFactoryCompiler.cs
- XslTransform.cs
- InternalConfigRoot.cs
- AssemblyAttributesGoHere.cs
- EntityDataSourceSelectingEventArgs.cs
- MimeWriter.cs
- EventLogEntryCollection.cs
- CodeObject.cs
- HtmlWindow.cs
- StyleXamlParser.cs
- UnmanagedMarshal.cs
- DiagnosticTraceSource.cs
- HtmlImage.cs
- TripleDESCryptoServiceProvider.cs
- ComplexTypeEmitter.cs
- CodeSubDirectory.cs
- AdapterDictionary.cs
- GregorianCalendarHelper.cs
- InheritablePropertyChangeInfo.cs
- Matrix3DValueSerializer.cs
- CommandHelper.cs
- StoryFragments.cs
- QuerySafeNavigator.cs
- ErrorStyle.cs