Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- TextServicesProperty.cs
- OutputCacheModule.cs
- XmlCollation.cs
- ApplicationDirectory.cs
- DragStartedEventArgs.cs
- TypedOperationInfo.cs
- XmlWrappingReader.cs
- ListViewAutomationPeer.cs
- SafeEventLogReadHandle.cs
- Cursor.cs
- rsa.cs
- SettingsPropertyIsReadOnlyException.cs
- LinqDataSourceDeleteEventArgs.cs
- ScriptReference.cs
- control.ime.cs
- Queue.cs
- OutputWindow.cs
- GeneralTransform3D.cs
- SynchronizationLockException.cs
- FunctionCommandText.cs
- SuppressIldasmAttribute.cs
- StorageMappingItemCollection.cs
- FixUpCollection.cs
- ComplexObject.cs
- AdornerDecorator.cs
- TrustLevelCollection.cs
- FirewallWrapper.cs
- Viewport3DVisual.cs
- EditingCoordinator.cs
- PathGeometry.cs
- FileLoadException.cs
- UpdateProgress.cs
- IDispatchConstantAttribute.cs
- DataExpression.cs
- Validator.cs
- DiagnosticTrace.cs
- Grid.cs
- CaretElement.cs
- SerializationException.cs
- Container.cs
- ReaderOutput.cs
- wgx_sdk_version.cs
- MessageEventSubscriptionService.cs
- AttributeEmitter.cs
- ProcessModuleDesigner.cs
- ProxyWebPartManager.cs
- ProviderBase.cs
- StagingAreaInputItem.cs
- XmlAutoDetectWriter.cs
- HotSpot.cs
- BuildProviderAppliesToAttribute.cs
- xmlglyphRunInfo.cs
- SqlDataAdapter.cs
- WorkflowServiceNamespace.cs
- XmlILIndex.cs
- HostedImpersonationContext.cs
- TextReader.cs
- RightsManagementSuppressedStream.cs
- Size.cs
- LogWriteRestartAreaAsyncResult.cs
- AspCompat.cs
- TrackingMemoryStreamFactory.cs
- FileEnumerator.cs
- WorkflowFileItem.cs
- TemplateBamlRecordReader.cs
- DesignTimeParseData.cs
- OracleBoolean.cs
- Set.cs
- ButtonRenderer.cs
- AsyncContentLoadedEventArgs.cs
- PeerSecurityHelpers.cs
- TriggerCollection.cs
- NativeMethods.cs
- DetailsViewUpdateEventArgs.cs
- StringValueSerializer.cs
- ReceiveContextCollection.cs
- SerializationHelper.cs
- JsonCollectionDataContract.cs
- DomNameTable.cs
- FormsAuthenticationEventArgs.cs
- RNGCryptoServiceProvider.cs
- GACMembershipCondition.cs
- ButtonChrome.cs
- TextBoxBase.cs
- AmbientEnvironment.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- FormsAuthenticationCredentials.cs
- Transform3D.cs
- Vector3DAnimation.cs
- PropertyInfo.cs
- ResourceAssociationSetEnd.cs
- SqlDataSourceRefreshSchemaForm.cs
- PackWebResponse.cs
- MaterialGroup.cs
- ToolStripContentPanelDesigner.cs
- SiteMapHierarchicalDataSourceView.cs
- XmlNodeChangedEventArgs.cs
- ObjectDataProvider.cs
- SqlDependency.cs
- VectorConverter.cs