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
- bidPrivateBase.cs
- SchemaNames.cs
- ButtonChrome.cs
- ReadOnlyDictionary.cs
- RoleService.cs
- DeviceSpecific.cs
- HelpInfo.cs
- OletxDependentTransaction.cs
- RichTextBox.cs
- _Events.cs
- login.cs
- CodeComment.cs
- RoleServiceManager.cs
- ArrangedElementCollection.cs
- StringFunctions.cs
- unsafenativemethodstextservices.cs
- DateTimeConstantAttribute.cs
- CustomWebEventKey.cs
- SQLBinary.cs
- BitVector32.cs
- WindowsGraphicsWrapper.cs
- EventMap.cs
- ChtmlTextWriter.cs
- ModelService.cs
- WebServiceTypeData.cs
- QuaternionValueSerializer.cs
- SqlProfileProvider.cs
- AsyncSerializedWorker.cs
- VBCodeProvider.cs
- GridToolTip.cs
- CompilerParameters.cs
- SqlBuilder.cs
- XmlSigningNodeWriter.cs
- SubMenuStyle.cs
- OleServicesContext.cs
- CleanUpVirtualizedItemEventArgs.cs
- EntityParameter.cs
- AncestorChangedEventArgs.cs
- BindingsCollection.cs
- MouseActionValueSerializer.cs
- WinEventQueueItem.cs
- RubberbandSelector.cs
- ObjectListCommandCollection.cs
- DirectionalLight.cs
- ContextInformation.cs
- HtmlInputRadioButton.cs
- GeneralTransform3DGroup.cs
- InvalidAsynchronousStateException.cs
- HijriCalendar.cs
- ScriptingAuthenticationServiceSection.cs
- DirectoryObjectSecurity.cs
- RequestTimeoutManager.cs
- Win32Exception.cs
- XmlnsCompatibleWithAttribute.cs
- CompoundFileReference.cs
- CookieProtection.cs
- PackageDigitalSignature.cs
- Size.cs
- QueueProcessor.cs
- ConstructorBuilder.cs
- TextLineResult.cs
- GZipStream.cs
- ImageMapEventArgs.cs
- _BasicClient.cs
- MobileTemplatedControlDesigner.cs
- DoubleCollectionValueSerializer.cs
- EventProxy.cs
- ConstructorExpr.cs
- WebReferenceCollection.cs
- OutputBuffer.cs
- DocumentXPathNavigator.cs
- SqlAliasesReferenced.cs
- ClientSection.cs
- DirtyTextRange.cs
- StringInfo.cs
- WeakRefEnumerator.cs
- AbsoluteQuery.cs
- DefinitionBase.cs
- WebPartExportVerb.cs
- TextStore.cs
- Profiler.cs
- ItemContainerProviderWrapper.cs
- Tablet.cs
- TypeConverterHelper.cs
- MediaEntryAttribute.cs
- HierarchicalDataBoundControl.cs
- TypedOperationInfo.cs
- SerTrace.cs
- TdsParameterSetter.cs
- Transform3DGroup.cs
- ListViewSortEventArgs.cs
- UniqueConstraint.cs
- OptimalBreakSession.cs
- SiteMapHierarchicalDataSourceView.cs
- OpacityConverter.cs
- ClientSideProviderDescription.cs
- ThicknessConverter.cs
- ColorTypeConverter.cs
- CalendarDayButton.cs
- DateTimeStorage.cs