Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Sys / 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
- SmtpMail.cs
- OdbcParameter.cs
- CqlWriter.cs
- TdsParserHelperClasses.cs
- TreeBuilderBamlTranslator.cs
- Enlistment.cs
- OletxVolatileEnlistment.cs
- ObjectItemConventionAssemblyLoader.cs
- XmlSerializer.cs
- StylusPointPropertyInfoDefaults.cs
- TextCompositionEventArgs.cs
- WindowsListView.cs
- InputManager.cs
- XmlSchemaDocumentation.cs
- DbConnectionInternal.cs
- Mapping.cs
- DocumentViewerAutomationPeer.cs
- HighlightVisual.cs
- DataAdapter.cs
- HideDisabledControlAdapter.cs
- TimerExtension.cs
- HandleCollector.cs
- WebScriptMetadataMessageEncoderFactory.cs
- IPHostEntry.cs
- RadialGradientBrush.cs
- AssemblyAttributesGoHere.cs
- ProbeMatchesMessageCD1.cs
- List.cs
- AutomationEventArgs.cs
- DataGridViewLinkColumn.cs
- PhysicalAddress.cs
- DataKeyCollection.cs
- DataServiceQueryOfT.cs
- TcpConnectionPool.cs
- HwndHost.cs
- SmtpException.cs
- DataViewManagerListItemTypeDescriptor.cs
- DataGridItem.cs
- PointCollectionConverter.cs
- ConfigurationConverterBase.cs
- ISessionStateStore.cs
- WebServiceHost.cs
- DataGridViewSelectedCellCollection.cs
- PropertyRef.cs
- TraceLevelHelper.cs
- FtpWebResponse.cs
- Comparer.cs
- CompositeScriptReferenceEventArgs.cs
- PowerStatus.cs
- SplineKeyFrames.cs
- tooltip.cs
- SynchronizationContextHelper.cs
- Cursors.cs
- AuthenticationSection.cs
- ToolStripTextBox.cs
- GridViewSortEventArgs.cs
- UTF7Encoding.cs
- DbBuffer.cs
- RuleSetBrowserDialog.cs
- ErrorStyle.cs
- BaseDataList.cs
- ParentUndoUnit.cs
- SqlProviderManifest.cs
- Transform3D.cs
- SerializationException.cs
- ViewEvent.cs
- ObjectItemAttributeAssemblyLoader.cs
- BaseValidator.cs
- Guid.cs
- ToggleButtonAutomationPeer.cs
- XmlMapping.cs
- DocumentOrderComparer.cs
- DiagnosticsConfiguration.cs
- X509CertificateTokenFactoryCredential.cs
- HwndStylusInputProvider.cs
- Handle.cs
- PersonalizationProviderHelper.cs
- StateMachine.cs
- EncryptedData.cs
- ManualResetEvent.cs
- SymmetricCryptoHandle.cs
- OfTypeExpression.cs
- mediaeventshelper.cs
- HttpCapabilitiesSectionHandler.cs
- TrackBar.cs
- SemanticResultKey.cs
- TimeSpanConverter.cs
- AnnotationComponentChooser.cs
- EntityDataSourceValidationException.cs
- PixelFormats.cs
- ToolStripPanelRenderEventArgs.cs
- Nullable.cs
- ServiceOperationParameter.cs
- ConstraintStruct.cs
- DiagnosticsConfiguration.cs
- ShaderEffect.cs
- LassoHelper.cs
- CompModSwitches.cs
- StickyNote.cs
- XPathDocumentIterator.cs