Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- CompiledAction.cs
- TextRangeAdaptor.cs
- SoapObjectReader.cs
- FormDesigner.cs
- CompatibleComparer.cs
- Cast.cs
- NamedPipeConnectionPool.cs
- XPathDescendantIterator.cs
- CurrencyManager.cs
- InstanceStore.cs
- Size3DValueSerializer.cs
- PrintPageEvent.cs
- Console.cs
- AutomationElementCollection.cs
- TextLine.cs
- XmlSchemaAll.cs
- dbenumerator.cs
- ElementAtQueryOperator.cs
- MaskInputRejectedEventArgs.cs
- AttributeEmitter.cs
- ISAPIRuntime.cs
- Graphics.cs
- PanelStyle.cs
- OrderedParallelQuery.cs
- SettingsBase.cs
- _LoggingObject.cs
- ItemContainerProviderWrapper.cs
- HTMLTagNameToTypeMapper.cs
- ParallelDesigner.xaml.cs
- BuiltInPermissionSets.cs
- StrokeIntersection.cs
- NotFiniteNumberException.cs
- HttpRequestCacheValidator.cs
- DbgUtil.cs
- WindowsButton.cs
- ListParagraph.cs
- FullTextBreakpoint.cs
- WSAddressing10ProblemHeaderQNameFault.cs
- TextEditorContextMenu.cs
- BaseCollection.cs
- XmlSchemaAll.cs
- ValidatorCompatibilityHelper.cs
- ArraySubsetEnumerator.cs
- TypeInitializationException.cs
- SubtreeProcessor.cs
- RadioButtonStandardAdapter.cs
- oledbmetadatacollectionnames.cs
- HotSpotCollectionEditor.cs
- DataGridViewColumnConverter.cs
- SiteMapDataSourceView.cs
- SystemUnicastIPAddressInformation.cs
- xdrvalidator.cs
- CommentGlyph.cs
- FieldDescriptor.cs
- ToolStripLabel.cs
- AnnotationResource.cs
- WFItemsToSpacerVisibility.cs
- NativeMethods.cs
- XNodeValidator.cs
- CreateParams.cs
- COAUTHINFO.cs
- SqlTypesSchemaImporter.cs
- RadioButtonFlatAdapter.cs
- TextBoxAutomationPeer.cs
- ProxyWebPartManager.cs
- BaseParagraph.cs
- RestClientProxyHandler.cs
- DateTimeStorage.cs
- ProjectionCamera.cs
- CreateUserErrorEventArgs.cs
- TagMapCollection.cs
- TextTreeFixupNode.cs
- SqlDuplicator.cs
- LinqToSqlWrapper.cs
- Encoding.cs
- ZoneLinkButton.cs
- ChangeBlockUndoRecord.cs
- EnumBuilder.cs
- CodeDomLocalizationProvider.cs
- LocatorPartList.cs
- SelfIssuedAuthRSAPKCS1SignatureFormatter.cs
- OrCondition.cs
- XmlSchemaSequence.cs
- ClientSettingsStore.cs
- EntityStoreSchemaFilterEntry.cs
- RenderCapability.cs
- MetadataItemEmitter.cs
- BezierSegment.cs
- Barrier.cs
- SystemIPInterfaceProperties.cs
- SqlDataAdapter.cs
- ExecutionEngineException.cs
- AsyncStreamReader.cs
- KnownTypeDataContractResolver.cs
- ResourceWriter.cs
- XmlBinaryReaderSession.cs
- __Error.cs
- HtmlGenericControl.cs
- NamedObject.cs
- EventItfInfo.cs