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
- PartBasedPackageProperties.cs
- XmlMtomWriter.cs
- ReferentialConstraintRoleElement.cs
- ConditionalAttribute.cs
- DataListItem.cs
- LockedHandleGlyph.cs
- ComPlusSynchronizationContext.cs
- ProfilePropertyNameValidator.cs
- MetadataPropertyvalue.cs
- Adorner.cs
- TextServicesCompartment.cs
- Utils.cs
- BinaryCommonClasses.cs
- InteropAutomationProvider.cs
- ContentValidator.cs
- ServiceHostingEnvironmentSection.cs
- _UncName.cs
- HttpRawResponse.cs
- BStrWrapper.cs
- DataRowChangeEvent.cs
- XmlAttributeAttribute.cs
- RegionData.cs
- NavigateEvent.cs
- TypeConverterHelper.cs
- Int64AnimationUsingKeyFrames.cs
- CodeCastExpression.cs
- AsyncStreamReader.cs
- CorruptingExceptionCommon.cs
- GAC.cs
- HelpInfo.cs
- CapabilitiesUse.cs
- LogSwitch.cs
- DropTarget.cs
- CatalogPart.cs
- UnsafeNativeMethods.cs
- PrinterUnitConvert.cs
- _Connection.cs
- CryptoStream.cs
- KnownTypeDataContractResolver.cs
- ByteStreamGeometryContext.cs
- UInt16.cs
- ProfilePropertySettings.cs
- PowerEase.cs
- MemberAccessException.cs
- HttpCachePolicyElement.cs
- DataColumnMappingCollection.cs
- XhtmlBasicObjectListAdapter.cs
- IntersectQueryOperator.cs
- MarkupCompiler.cs
- SqlBulkCopy.cs
- MouseBinding.cs
- TextElementAutomationPeer.cs
- EncryptedKeyHashIdentifierClause.cs
- DuplicateWaitObjectException.cs
- ToggleProviderWrapper.cs
- ProxyWebPart.cs
- FileSecurity.cs
- TemplateXamlParser.cs
- IntPtr.cs
- KoreanCalendar.cs
- ValueConversionAttribute.cs
- PrimaryKeyTypeConverter.cs
- TypedElement.cs
- DataServiceConfiguration.cs
- TypeSemantics.cs
- FormsAuthenticationCredentials.cs
- IndentedTextWriter.cs
- CurrencyWrapper.cs
- _LoggingObject.cs
- ExpressionBuilder.cs
- TransactionScope.cs
- ServiceObjectContainer.cs
- SoapObjectReader.cs
- ImageInfo.cs
- EncoderReplacementFallback.cs
- InvariantComparer.cs
- SmtpSection.cs
- XPathQueryGenerator.cs
- XmlSchemaComplexType.cs
- GraphicsPath.cs
- WebPartCatalogAddVerb.cs
- DesignTimeValidationFeature.cs
- Package.cs
- Serializer.cs
- IpcManager.cs
- CompareValidator.cs
- XmlWhitespace.cs
- AtomContentProperty.cs
- StorageComplexPropertyMapping.cs
- XmlHierarchyData.cs
- SyntaxCheck.cs
- ZipIOLocalFileDataDescriptor.cs
- WindowsToolbarAsMenu.cs
- InputScopeNameConverter.cs
- Event.cs
- SoapSchemaImporter.cs
- PageParserFilter.cs
- Executor.cs
- DataGridViewCellMouseEventArgs.cs
- CapabilitiesUse.cs