Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Sys / 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; } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebPartVerbsEventArgs.cs
- SafeRightsManagementSessionHandle.cs
- PreviewPrintController.cs
- GlobalProxySelection.cs
- DependsOnAttribute.cs
- Number.cs
- StringComparer.cs
- PathSegmentCollection.cs
- Permission.cs
- TextServicesDisplayAttribute.cs
- InputLangChangeRequestEvent.cs
- HotSpot.cs
- EditModeSwitchButton.cs
- TreeNodeStyleCollection.cs
- TypeNameHelper.cs
- XmlSignatureProperties.cs
- InputGestureCollection.cs
- _HelperAsyncResults.cs
- OleDbRowUpdatedEvent.cs
- NullableLongAverageAggregationOperator.cs
- HwndSourceKeyboardInputSite.cs
- StateInitialization.cs
- RequestQueryProcessor.cs
- FormViewUpdatedEventArgs.cs
- ValidationEventArgs.cs
- SettingsBase.cs
- ObjectContext.cs
- EntityContainerEmitter.cs
- SqlDataSourceCache.cs
- RenderDataDrawingContext.cs
- CssTextWriter.cs
- FacetChecker.cs
- NavigationProperty.cs
- SqlDataReaderSmi.cs
- CompilationUtil.cs
- ColorContext.cs
- DataSourceCache.cs
- WebPartEventArgs.cs
- COAUTHIDENTITY.cs
- SettingsAttributes.cs
- BufferedOutputStream.cs
- CheckBoxField.cs
- SocketPermission.cs
- TemplateField.cs
- SizeConverter.cs
- CfgSemanticTag.cs
- BrowserDefinition.cs
- Metadata.cs
- XmlHierarchicalEnumerable.cs
- Span.cs
- ApplicationFileParser.cs
- LinkUtilities.cs
- DataGridCommandEventArgs.cs
- HandleCollector.cs
- StorageMappingItemCollection.cs
- DbMetaDataColumnNames.cs
- Transactions.cs
- TextRenderingModeValidation.cs
- TreeViewItemAutomationPeer.cs
- safelink.cs
- DataGridCaption.cs
- ImageDesigner.cs
- ObjectStorage.cs
- WebEventCodes.cs
- SchemaImporterExtensionsSection.cs
- backend.cs
- FlowDocumentView.cs
- ConfigurationElementProperty.cs
- StyleBamlRecordReader.cs
- IntegrationExceptionEventArgs.cs
- ReadOnlyObservableCollection.cs
- SecurityHeaderElementInferenceEngine.cs
- SettingsAttributes.cs
- FlowLayoutPanelDesigner.cs
- XmlJsonReader.cs
- CommunicationException.cs
- SQLRoleProvider.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- Sequence.cs
- ResourceDescriptionAttribute.cs
- ToolBarButton.cs
- DirectionalLight.cs
- SizeKeyFrameCollection.cs
- AllMembershipCondition.cs
- HostVisual.cs
- TreeNode.cs
- Formatter.cs
- AppDomainFactory.cs
- DigitShape.cs
- ApplyImportsAction.cs
- SourceElementsCollection.cs
- StringFormat.cs
- ArithmeticException.cs
- _AutoWebProxyScriptHelper.cs
- Track.cs
- CacheRequest.cs
- RectangleConverter.cs
- TimeoutException.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- ReaderWriterLockWrapper.cs