Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Configuration / System / Configuration / ConfigXmlText.cs / 1 / ConfigXmlText.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 ConfigXmlText : XmlText, IConfigErrorInfo { int _line; string _filename; public ConfigXmlText( string filename, int line, string strData, XmlDocument doc ) : base( strData, 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); ConfigXmlText clone = cloneNode as ConfigXmlText; 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 ConfigXmlText : XmlText, IConfigErrorInfo { int _line; string _filename; public ConfigXmlText( string filename, int line, string strData, XmlDocument doc ) : base( strData, 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); ConfigXmlText clone = cloneNode as ConfigXmlText; 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
- InfoCardArgumentException.cs
- DbDataReader.cs
- MetadataArtifactLoaderResource.cs
- RegisteredScript.cs
- CodeNamespace.cs
- MatrixAnimationUsingKeyFrames.cs
- VideoDrawing.cs
- WindowsSlider.cs
- OuterGlowBitmapEffect.cs
- ImageSource.cs
- OutputWindow.cs
- DesignerActionUIService.cs
- GlobalEventManager.cs
- ItemsControl.cs
- UrlAuthorizationModule.cs
- DiagnosticTrace.cs
- SmiContext.cs
- LayoutTableCell.cs
- FactorySettingsElement.cs
- OleAutBinder.cs
- DesignOnlyAttribute.cs
- ReliableSessionBindingElementImporter.cs
- MemberHolder.cs
- BuildProviderUtils.cs
- AssociatedControlConverter.cs
- JsonDeserializer.cs
- FusionWrap.cs
- GC.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- KeyValuePairs.cs
- FreeIndexList.cs
- KeyInterop.cs
- DataPagerFieldItem.cs
- PassportIdentity.cs
- TextFormatterImp.cs
- ToolStripDropTargetManager.cs
- MetadataArtifactLoaderCompositeResource.cs
- ExtensionSimplifierMarkupObject.cs
- MultipleViewPattern.cs
- SubtreeProcessor.cs
- DisplayNameAttribute.cs
- SystemFonts.cs
- KeyNotFoundException.cs
- PostBackOptions.cs
- RSAPKCS1SignatureFormatter.cs
- DataServiceBuildProvider.cs
- AssociationSet.cs
- CommandLineParser.cs
- WebPartDescription.cs
- EdmMember.cs
- WebSysDefaultValueAttribute.cs
- UnsafeNetInfoNativeMethods.cs
- WrappedOptions.cs
- BitArray.cs
- WebPartEditorOkVerb.cs
- Attributes.cs
- CompilationUtil.cs
- MinMaxParagraphWidth.cs
- LassoSelectionBehavior.cs
- CheckedListBox.cs
- OleDbDataAdapter.cs
- HttpListenerPrefixCollection.cs
- TemplatedWizardStep.cs
- EntityViewGenerationConstants.cs
- TabletDeviceInfo.cs
- FileDialog.cs
- SqlRemoveConstantOrderBy.cs
- CustomBindingElement.cs
- RadialGradientBrush.cs
- DockAndAnchorLayout.cs
- DataObjectAttribute.cs
- DiscoveryClientRequestChannel.cs
- Html32TextWriter.cs
- DocumentViewerAutomationPeer.cs
- MouseGestureValueSerializer.cs
- SamlConditions.cs
- AudioStateChangedEventArgs.cs
- DataObjectMethodAttribute.cs
- DataKey.cs
- TargetConverter.cs
- FocusManager.cs
- StrokeCollectionConverter.cs
- AggregateNode.cs
- RunClient.cs
- QilValidationVisitor.cs
- StorageBasedPackageProperties.cs
- CellIdBoolean.cs
- CompileXomlTask.cs
- StrongTypingException.cs
- TextCharacters.cs
- TextAction.cs
- AnnotationAuthorChangedEventArgs.cs
- ToolStripHighContrastRenderer.cs
- HttpWebResponse.cs
- IApplicationTrustManager.cs
- XmlSecureResolver.cs
- SqlWebEventProvider.cs
- DesignerValidationSummaryAdapter.cs
- LoginName.cs
- Compress.cs