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
- RelationshipFixer.cs
- PersistencePipeline.cs
- NativeMethods.cs
- PriorityChain.cs
- OrderingExpression.cs
- ConditionalAttribute.cs
- FontSizeConverter.cs
- DPAPIProtectedConfigurationProvider.cs
- EditorZoneBase.cs
- XmlMtomReader.cs
- DocumentsTrace.cs
- Misc.cs
- DateTimePicker.cs
- PersonalizableTypeEntry.cs
- Pen.cs
- CustomBindingCollectionElement.cs
- FontStyleConverter.cs
- HtmlHead.cs
- MimeMapping.cs
- OpCellTreeNode.cs
- ArraySubsetEnumerator.cs
- CompiledQuery.cs
- AttributedMetaModel.cs
- ListControl.cs
- DaylightTime.cs
- SessionStateUtil.cs
- GeometryHitTestResult.cs
- ResourceReferenceKeyNotFoundException.cs
- UnknownWrapper.cs
- ProxyFragment.cs
- InvokeMethodDesigner.xaml.cs
- ParamArrayAttribute.cs
- DropSource.cs
- DataSourceXmlTextReader.cs
- Nullable.cs
- ServicesUtilities.cs
- OuterGlowBitmapEffect.cs
- OutputWindow.cs
- XmlSchema.cs
- AccessDataSourceView.cs
- RoleManagerModule.cs
- Unit.cs
- XmlNodeReader.cs
- XmlDeclaration.cs
- _ProxyChain.cs
- IconBitmapDecoder.cs
- ErrorStyle.cs
- KeyTime.cs
- ConstructorBuilder.cs
- MdImport.cs
- PointHitTestParameters.cs
- HorizontalAlignConverter.cs
- FlowDocumentReaderAutomationPeer.cs
- DataChangedEventManager.cs
- SessionState.cs
- SqlDataSourceRefreshSchemaForm.cs
- FontFamily.cs
- WSFederationHttpSecurityMode.cs
- EntityDataSourceColumn.cs
- SmtpTransport.cs
- FontStyles.cs
- MembershipValidatePasswordEventArgs.cs
- CompiledXpathExpr.cs
- SoapFault.cs
- X509ChainPolicy.cs
- SqlColumnizer.cs
- TdsRecordBufferSetter.cs
- DragCompletedEventArgs.cs
- SizeF.cs
- StringValueSerializer.cs
- log.cs
- Comparer.cs
- CodeGenerator.cs
- ToolboxItemCollection.cs
- StoreItemCollection.cs
- DefaultWorkflowSchedulerService.cs
- Brush.cs
- Util.cs
- TokenCreationParameter.cs
- ThrowHelper.cs
- InputLanguageProfileNotifySink.cs
- SspiSafeHandles.cs
- MetaTableHelper.cs
- ResourceContainer.cs
- LocationReferenceValue.cs
- HashAlgorithm.cs
- InheritanceContextHelper.cs
- NetSectionGroup.cs
- InstanceOwner.cs
- ParallelTimeline.cs
- ControlPropertyNameConverter.cs
- BaseCodeDomTreeGenerator.cs
- UiaCoreApi.cs
- CatalogZoneBase.cs
- ColumnHeaderConverter.cs
- JsonByteArrayDataContract.cs
- XPathSingletonIterator.cs
- PriorityQueue.cs
- AuditLevel.cs
- BuildProvider.cs