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
- CodeNamespace.cs
- SqlDataReader.cs
- ValidationRuleCollection.cs
- IsolatedStorageFile.cs
- MetadataItem_Static.cs
- InvokeFunc.cs
- XmlSchemaAttribute.cs
- DataObjectMethodAttribute.cs
- AuthorizationContext.cs
- Assembly.cs
- FloaterParaClient.cs
- SubtreeProcessor.cs
- XmlHierarchicalDataSourceView.cs
- XmlHelper.cs
- StringComparer.cs
- DataGridViewImageColumn.cs
- DataServiceHost.cs
- ReadOnlyHierarchicalDataSourceView.cs
- FaultBookmark.cs
- RootDesignerSerializerAttribute.cs
- DocumentViewerAutomationPeer.cs
- NativeMethodsOther.cs
- ValidationErrorEventArgs.cs
- PriorityItem.cs
- SctClaimDictionary.cs
- BridgeDataReader.cs
- Freezable.cs
- BitmapEffectDrawing.cs
- Keyboard.cs
- XmlReaderSettings.cs
- StrokeFIndices.cs
- CodeObjectCreateExpression.cs
- TemplateBindingExtensionConverter.cs
- KnownAssembliesSet.cs
- OrderedDictionary.cs
- WebPartConnectionsDisconnectVerb.cs
- UnwrappedTypesXmlSerializerManager.cs
- PageAdapter.cs
- UidManager.cs
- EntitySqlException.cs
- XmlUTF8TextWriter.cs
- XmlEventCache.cs
- SqlIdentifier.cs
- XPathDocumentNavigator.cs
- StatusInfoItem.cs
- CheckBoxPopupAdapter.cs
- DataSourceHelper.cs
- UserControlBuildProvider.cs
- VerbConverter.cs
- SortDescription.cs
- XmlBinaryWriter.cs
- ListBoxItemAutomationPeer.cs
- EventLog.cs
- InstancePersistenceException.cs
- ListParaClient.cs
- TrackingProfileCache.cs
- Scene3D.cs
- Stylus.cs
- LockRenewalTask.cs
- CatalogZoneBase.cs
- MSAAEventDispatcher.cs
- DrawingCollection.cs
- CollectionCodeDomSerializer.cs
- TraceLog.cs
- EventMappingSettings.cs
- PropertyMappingExceptionEventArgs.cs
- XamlTypeMapper.cs
- TreeViewHitTestInfo.cs
- ScriptControlManager.cs
- TabControlDesigner.cs
- DataGridViewColumnHeaderCell.cs
- OleDbMetaDataFactory.cs
- OneOfScalarConst.cs
- ProcessModelInfo.cs
- AssemblyEvidenceFactory.cs
- OleDbException.cs
- XappLauncher.cs
- BackgroundFormatInfo.cs
- SatelliteContractVersionAttribute.cs
- BitmapEffectGroup.cs
- XamlPathDataSerializer.cs
- StringFreezingAttribute.cs
- DirectoryLocalQuery.cs
- RemoteAsymmetricSignatureFormatter.cs
- DbModificationClause.cs
- SqlClientWrapperSmiStreamChars.cs
- UnsafeNativeMethods.cs
- Int64Storage.cs
- XmlNode.cs
- TemplateControlCodeDomTreeGenerator.cs
- SmtpMail.cs
- FunctionQuery.cs
- ImportCatalogPart.cs
- SqlDataAdapter.cs
- SelectionWordBreaker.cs
- TouchesCapturedWithinProperty.cs
- SqlDataSourceFilteringEventArgs.cs
- DataServiceRequestArgs.cs
- DocumentCollection.cs
- EncodingInfo.cs