Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- FileSecurity.cs
- FixedSOMImage.cs
- coordinator.cs
- BoundField.cs
- WebPartCatalogAddVerb.cs
- SHA1.cs
- EditorPartChrome.cs
- FixedNode.cs
- DirectoryObjectSecurity.cs
- _BufferOffsetSize.cs
- PathNode.cs
- MailDefinition.cs
- AssemblyHash.cs
- TextPointerBase.cs
- Predicate.cs
- InfoCardProofToken.cs
- XmlSchemaGroup.cs
- SecurityContextSecurityTokenAuthenticator.cs
- RuntimeComponentFilter.cs
- CompilationUnit.cs
- _SafeNetHandles.cs
- PrePrepareMethodAttribute.cs
- RtfFormatStack.cs
- TableCell.cs
- EntryIndex.cs
- WebEvents.cs
- CodeAttributeArgumentCollection.cs
- BamlLocalizableResourceKey.cs
- ProgramNode.cs
- TdsEnums.cs
- Wildcard.cs
- DbBuffer.cs
- translator.cs
- DbConnectionPoolIdentity.cs
- PortCache.cs
- ColumnHeaderConverter.cs
- pingexception.cs
- GlyphElement.cs
- IDictionary.cs
- Translator.cs
- ImageKeyConverter.cs
- SrgsSemanticInterpretationTag.cs
- SoapHeaders.cs
- XmlIterators.cs
- SafeLocalAllocation.cs
- GenericTextProperties.cs
- SecureEnvironment.cs
- StaticSiteMapProvider.cs
- CorrelationResolver.cs
- EntityDataSourceContainerNameConverter.cs
- ListViewItem.cs
- UnitControl.cs
- IBuiltInEvidence.cs
- Int16Converter.cs
- EDesignUtil.cs
- HttpCapabilitiesEvaluator.cs
- OutputBuffer.cs
- SpotLight.cs
- ProviderConnectionPoint.cs
- HostnameComparisonMode.cs
- FilteredDataSetHelper.cs
- HttpFileCollection.cs
- AbstractSvcMapFileLoader.cs
- StrokeDescriptor.cs
- StorageConditionPropertyMapping.cs
- DataColumnChangeEvent.cs
- PersonalizationStateInfo.cs
- SHA384.cs
- Region.cs
- UpdateTracker.cs
- InvocationExpression.cs
- FixedDocumentPaginator.cs
- Timer.cs
- RedistVersionInfo.cs
- ClaimComparer.cs
- COM2PictureConverter.cs
- SQLBinaryStorage.cs
- ResourceProperty.cs
- Dynamic.cs
- SqlSelectStatement.cs
- ExponentialEase.cs
- SymmetricAlgorithm.cs
- HttpInputStream.cs
- UITypeEditor.cs
- DecoderNLS.cs
- BamlLocalizableResource.cs
- WmlPhoneCallAdapter.cs
- Rotation3DKeyFrameCollection.cs
- StringDictionary.cs
- DataMemberListEditor.cs
- FormViewInsertEventArgs.cs
- SmtpDigestAuthenticationModule.cs
- LogicalExpr.cs
- XmlEncApr2001.cs
- ObservableCollection.cs
- TemplateApplicationHelper.cs
- HeaderedContentControl.cs
- MarkupProperty.cs
- EpmSourcePathSegment.cs
- ResourceDescriptionAttribute.cs