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
- EventDriven.cs
- webclient.cs
- BuilderPropertyEntry.cs
- SequentialUshortCollection.cs
- NativeMethods.cs
- XamlValidatingReader.cs
- HtmlEmptyTagControlBuilder.cs
- ellipse.cs
- ReceiveActivity.cs
- DrawingVisualDrawingContext.cs
- SelectionManager.cs
- BamlVersionHeader.cs
- UriSection.cs
- FixedPage.cs
- PointLightBase.cs
- LingerOption.cs
- SqlConnectionPoolGroupProviderInfo.cs
- SystemMulticastIPAddressInformation.cs
- EncoderBestFitFallback.cs
- FieldAccessException.cs
- DesignTimeTemplateParser.cs
- HttpCookiesSection.cs
- StringDictionary.cs
- ToolStripStatusLabel.cs
- ExpressionNode.cs
- FilePrompt.cs
- ExpressionsCollectionEditor.cs
- SettingsSavedEventArgs.cs
- StrokeNodeOperations2.cs
- Timeline.cs
- SymbolType.cs
- DataStreamFromComStream.cs
- _OverlappedAsyncResult.cs
- Viewport2DVisual3D.cs
- PlacementWorkspace.cs
- HttpContextServiceHost.cs
- _LocalDataStoreMgr.cs
- IPipelineRuntime.cs
- WebPartCancelEventArgs.cs
- SchemaInfo.cs
- FormatException.cs
- Int64Converter.cs
- HighContrastHelper.cs
- ApplicationSettingsBase.cs
- GeneralTransform2DTo3DTo2D.cs
- FontStretch.cs
- Encoder.cs
- SqlTypesSchemaImporter.cs
- TranslateTransform.cs
- TargetControlTypeAttribute.cs
- StylusEventArgs.cs
- TraceInternal.cs
- CodePageUtils.cs
- DoubleLinkListEnumerator.cs
- MonitorWrapper.cs
- CornerRadius.cs
- InstanceDataCollectionCollection.cs
- XmlCharType.cs
- OutOfProcStateClientManager.cs
- CodeTypeDelegate.cs
- VisualStyleRenderer.cs
- FtpCachePolicyElement.cs
- ComboBoxItem.cs
- XmlCharType.cs
- ResourceDisplayNameAttribute.cs
- PrintDialog.cs
- ConfigsHelper.cs
- ObservableDictionary.cs
- GeneralTransformGroup.cs
- AndCondition.cs
- UnsafeNativeMethods.cs
- LayoutDump.cs
- ObjectDataSourceMethodEventArgs.cs
- ExtentKey.cs
- ModelUIElement3D.cs
- GenericWebPart.cs
- DecoderFallbackWithFailureFlag.cs
- NumberFormatter.cs
- SectionXmlInfo.cs
- Misc.cs
- MessageDecoder.cs
- WebControl.cs
- ColorTransformHelper.cs
- System.Data_BID.cs
- TransactionScope.cs
- XmlNullResolver.cs
- HScrollBar.cs
- RecommendedAsConfigurableAttribute.cs
- AssemblyBuilderData.cs
- XdrBuilder.cs
- MissingManifestResourceException.cs
- EditorZone.cs
- PropertyTab.cs
- SchemaCreator.cs
- HttpHandlerAction.cs
- ThemeableAttribute.cs
- TraceXPathNavigator.cs
- CommandEventArgs.cs
- DelegateHelpers.Generated.cs
- SQLGuidStorage.cs