Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- RemoteHelper.cs
- CodeTypeDelegate.cs
- DeviceFiltersSection.cs
- Vector.cs
- DrawingGroup.cs
- EventSinkActivityDesigner.cs
- BindingMAnagerBase.cs
- ListDictionaryInternal.cs
- SecurityHeaderLayout.cs
- DynamicResourceExtension.cs
- Transform3DCollection.cs
- RangeBase.cs
- GlobalAllocSafeHandle.cs
- wgx_render.cs
- SqlTopReducer.cs
- DebugController.cs
- DNS.cs
- UidManager.cs
- CorrelationManager.cs
- XmlReflectionMember.cs
- PageStatePersister.cs
- ProxyGenerationError.cs
- Composition.cs
- XPathParser.cs
- FontDifferentiator.cs
- ScaleTransform.cs
- CodeNamespaceCollection.cs
- SingleQueryOperator.cs
- CharConverter.cs
- AnnotationResourceCollection.cs
- WmlCalendarAdapter.cs
- MonthCalendar.cs
- FormsAuthenticationTicket.cs
- EdmToObjectNamespaceMap.cs
- OracleLob.cs
- AuthenticationServiceManager.cs
- MenuItemCollectionEditor.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- DataSetViewSchema.cs
- Span.cs
- InternalException.cs
- Utility.cs
- LinkClickEvent.cs
- MeasurementDCInfo.cs
- DataBindingHandlerAttribute.cs
- DrawListViewItemEventArgs.cs
- HandlerMappingMemo.cs
- SQLInt64Storage.cs
- Transform3D.cs
- CharEnumerator.cs
- SwitchElementsCollection.cs
- GraphicsPathIterator.cs
- SafeLocalMemHandle.cs
- EntityDataSourceWizardForm.cs
- CalendarAutoFormat.cs
- MouseActionConverter.cs
- DeclaredTypeValidatorAttribute.cs
- DataGridColumn.cs
- WebPartTracker.cs
- ClientTarget.cs
- DocumentPaginator.cs
- X509CertificateValidator.cs
- DataObjectAttribute.cs
- FormattedTextSymbols.cs
- SendActivityValidator.cs
- ConnectorSelectionGlyph.cs
- OrCondition.cs
- DataGridViewLinkColumn.cs
- RadioButtonFlatAdapter.cs
- XsltInput.cs
- OdbcParameterCollection.cs
- SortKey.cs
- ScheduleChanges.cs
- AppLevelCompilationSectionCache.cs
- SingleConverter.cs
- DataGridViewColumnDesigner.cs
- DynamicActivityXamlReader.cs
- FieldAccessException.cs
- ReflectionTypeLoadException.cs
- ImportCatalogPart.cs
- WorkflowViewStateService.cs
- Splitter.cs
- SqlDataSourceQueryEditor.cs
- XPathSingletonIterator.cs
- WmlValidationSummaryAdapter.cs
- CompletedAsyncResult.cs
- Viewport3DVisual.cs
- SyndicationDeserializer.cs
- AutomationProperty.cs
- IndexerNameAttribute.cs
- TableDetailsCollection.cs
- WmpBitmapEncoder.cs
- SqlAggregateChecker.cs
- BitStack.cs
- SaveFileDialog.cs
- CannotUnloadAppDomainException.cs
- TypeExtensions.cs
- PenContext.cs
- DesignerMetadata.cs
- InputBinder.cs