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 / ConfigXmlElement.cs / 1 / ConfigXmlElement.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 ConfigXmlElement : XmlElement, IConfigErrorInfo { int _line; string _filename; public ConfigXmlElement( 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); ConfigXmlElement clone = cloneNode as ConfigXmlElement; 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 ConfigXmlElement : XmlElement, IConfigErrorInfo { int _line; string _filename; public ConfigXmlElement( 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); ConfigXmlElement clone = cloneNode as ConfigXmlElement; 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
- InlineCollection.cs
- WebPartAuthorizationEventArgs.cs
- DataSourceCacheDurationConverter.cs
- DataGridCell.cs
- XmlSchemaSequence.cs
- ScrollViewerAutomationPeer.cs
- ConsoleKeyInfo.cs
- CircleHotSpot.cs
- StylusButtonCollection.cs
- XamlPointCollectionSerializer.cs
- MSAAEventDispatcher.cs
- SyndicationFeedFormatter.cs
- LayoutDump.cs
- CacheDependency.cs
- Identifier.cs
- PlatformCulture.cs
- EventListenerClientSide.cs
- HandleTable.cs
- SQLStringStorage.cs
- CommandEventArgs.cs
- ModelFunction.cs
- SqlTypesSchemaImporter.cs
- BrowserCapabilitiesFactory.cs
- And.cs
- GenericsNotImplementedException.cs
- StorageFunctionMapping.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- ExpandSegmentCollection.cs
- DynamicRenderer.cs
- DataServiceQueryContinuation.cs
- oledbmetadatacollectionnames.cs
- MultiDataTrigger.cs
- SourceFilter.cs
- PreparingEnlistment.cs
- FormsAuthenticationModule.cs
- SchemaLookupTable.cs
- XPathScanner.cs
- AdornerHitTestResult.cs
- HMACSHA1.cs
- ConnectionStringSettings.cs
- CacheAxisQuery.cs
- DtdParser.cs
- FrameworkContentElementAutomationPeer.cs
- MenuAutomationPeer.cs
- ExpressionLexer.cs
- DataControlLinkButton.cs
- WpfKnownTypeInvoker.cs
- PingReply.cs
- HttpCookie.cs
- MethodCallConverter.cs
- MetadataResolver.cs
- SubclassTypeValidator.cs
- TdsParserSafeHandles.cs
- SharedPersonalizationStateInfo.cs
- DetailsViewModeEventArgs.cs
- LocalTransaction.cs
- ColumnHeader.cs
- LoginViewDesigner.cs
- KeySplineConverter.cs
- FillRuleValidation.cs
- _NTAuthentication.cs
- SqlAliaser.cs
- SecurityHelper.cs
- RectangleConverter.cs
- OledbConnectionStringbuilder.cs
- TreeBuilderBamlTranslator.cs
- TypeConverters.cs
- TagMapInfo.cs
- VoiceObjectToken.cs
- EntityDataSourceColumn.cs
- OleServicesContext.cs
- EventListener.cs
- ExceptionNotification.cs
- SignatureResourcePool.cs
- Internal.cs
- XmlDocumentViewSchema.cs
- CultureSpecificStringDictionary.cs
- ConfigurationElementProperty.cs
- Attributes.cs
- FieldNameLookup.cs
- CommonGetThemePartSize.cs
- AttributeCollection.cs
- ListViewDesigner.cs
- CustomDictionarySources.cs
- Helpers.cs
- XmlSchemaCompilationSettings.cs
- ItemPager.cs
- Shape.cs
- PerfService.cs
- DataTablePropertyDescriptor.cs
- WindowsListViewScroll.cs
- TitleStyle.cs
- FontWeights.cs
- NameTable.cs
- TrustLevel.cs
- CfgSemanticTag.cs
- GeneralTransform.cs
- DataListGeneralPage.cs
- OracleBoolean.cs
- ConfigPathUtility.cs