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
- ProxyWebPartConnectionCollection.cs
- AssociationTypeEmitter.cs
- AuthenticationSection.cs
- PagerSettings.cs
- ConfigXmlComment.cs
- HotSpotCollection.cs
- KeyboardEventArgs.cs
- Image.cs
- PropertyMap.cs
- UpdatePanelTriggerCollection.cs
- RsaSecurityToken.cs
- _AutoWebProxyScriptWrapper.cs
- WindowPattern.cs
- SchemaSetCompiler.cs
- EntityTransaction.cs
- objectquery_tresulttype.cs
- RawAppCommandInputReport.cs
- XmlEntityReference.cs
- X509SecurityTokenProvider.cs
- ChannelManager.cs
- MemberInfoSerializationHolder.cs
- SchemaSetCompiler.cs
- DesignerActionHeaderItem.cs
- Cursors.cs
- _Events.cs
- RightsManagementInformation.cs
- _SslSessionsCache.cs
- TriggerCollection.cs
- ResourceContainer.cs
- VoiceInfo.cs
- TextTreeFixupNode.cs
- TextBlockAutomationPeer.cs
- SecurityAlgorithmSuite.cs
- OleCmdHelper.cs
- InfoCardSymmetricAlgorithm.cs
- HandleExceptionArgs.cs
- NativeMethods.cs
- MaskPropertyEditor.cs
- TypeConverter.cs
- ErrorRuntimeConfig.cs
- DockPanel.cs
- MSAAWinEventWrap.cs
- NameValueCache.cs
- ListSurrogate.cs
- LinkGrep.cs
- ManagementExtension.cs
- ToolBarOverflowPanel.cs
- NullRuntimeConfig.cs
- StringCollectionEditor.cs
- ZipIOBlockManager.cs
- TextAutomationPeer.cs
- StorageBasedPackageProperties.cs
- DictionaryCustomTypeDescriptor.cs
- LineSegment.cs
- DbProviderSpecificTypePropertyAttribute.cs
- UserNameServiceElement.cs
- Int64.cs
- ProtocolsConfiguration.cs
- ErrorProvider.cs
- ProgressBarBrushConverter.cs
- WpfGeneratedKnownTypes.cs
- ToolBar.cs
- OuterGlowBitmapEffect.cs
- Label.cs
- XmlSignatureManifest.cs
- RadioButtonBaseAdapter.cs
- UnhandledExceptionEventArgs.cs
- ScriptBehaviorDescriptor.cs
- EntityCommandExecutionException.cs
- TouchDevice.cs
- UnsafeNativeMethods.cs
- ItemPager.cs
- AssemblyAssociatedContentFileAttribute.cs
- OracleConnection.cs
- DesignerGenericWebPart.cs
- XmlEntityReference.cs
- CodePropertyReferenceExpression.cs
- TranslateTransform.cs
- ellipse.cs
- DataGridViewCellEventArgs.cs
- DelegatedStream.cs
- XmlSchemaAppInfo.cs
- ContextConfiguration.cs
- Lease.cs
- SingletonChannelAcceptor.cs
- EntityWithKeyStrategy.cs
- SqlTypesSchemaImporter.cs
- SHA256Managed.cs
- BookmarkScope.cs
- MetadataExporter.cs
- DataFieldConverter.cs
- MDIClient.cs
- uribuilder.cs
- DynamicArgumentDialog.cs
- XmlUnspecifiedAttribute.cs
- SafePointer.cs
- TextMarkerSource.cs
- CacheSection.cs
- DesigntimeLicenseContextSerializer.cs
- ReadOnlyHierarchicalDataSource.cs