Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / ConfigXmlText.cs / 1305376 / 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
- ToolStripCustomTypeDescriptor.cs
- FontCacheUtil.cs
- View.cs
- TickBar.cs
- ScriptResourceHandler.cs
- XmlEnumAttribute.cs
- PrintDialog.cs
- ListBindingConverter.cs
- IHttpResponseInternal.cs
- ShaderEffect.cs
- DataGridViewCellStyleConverter.cs
- SerialReceived.cs
- VersionValidator.cs
- ClusterSafeNativeMethods.cs
- ImageCodecInfoPrivate.cs
- SoapTypeAttribute.cs
- BatchParser.cs
- WebPageTraceListener.cs
- FixedFindEngine.cs
- EdgeProfileValidation.cs
- ActivityLocationReferenceEnvironment.cs
- WorkflowOwnershipException.cs
- xsdvalidator.cs
- SimpleFieldTemplateUserControl.cs
- LocalBuilder.cs
- ObjectItemConventionAssemblyLoader.cs
- Serializer.cs
- IUnknownConstantAttribute.cs
- HtmlTitle.cs
- _CacheStreams.cs
- SoapIgnoreAttribute.cs
- DebuggerAttributes.cs
- StandardRuntimeEnumValidatorAttribute.cs
- ToolStripDropDown.cs
- ActivityMarkupSerializationProvider.cs
- SafeUserTokenHandle.cs
- SafeHandles.cs
- Int32Converter.cs
- FileUpload.cs
- TrustLevelCollection.cs
- NonVisualControlAttribute.cs
- SystemIPInterfaceStatistics.cs
- RegexCode.cs
- ExtenderProviderService.cs
- SimpleLine.cs
- GACIdentityPermission.cs
- securitymgrsite.cs
- UriTemplateClientFormatter.cs
- File.cs
- hwndwrapper.cs
- AnnotationHighlightLayer.cs
- DataService.cs
- SpellerStatusTable.cs
- OuterGlowBitmapEffect.cs
- ChunkedMemoryStream.cs
- RootBrowserWindowAutomationPeer.cs
- IdentityValidationException.cs
- XmlCodeExporter.cs
- BaseWebProxyFinder.cs
- GenericUriParser.cs
- CheckBoxRenderer.cs
- PixelShader.cs
- DescendantBaseQuery.cs
- UInt16.cs
- DecimalFormatter.cs
- MasterPageParser.cs
- CodeObjectCreateExpression.cs
- HuffModule.cs
- RegexWorker.cs
- WebPartConnectionsCloseVerb.cs
- ImageDrawing.cs
- MeshGeometry3D.cs
- WindowsHyperlink.cs
- UIHelper.cs
- HebrewNumber.cs
- ProfileModule.cs
- Rule.cs
- ConfigXmlCDataSection.cs
- TraceInternal.cs
- ExecutedRoutedEventArgs.cs
- AssemblyResourceLoader.cs
- Condition.cs
- DecodeHelper.cs
- PageBuildProvider.cs
- StatusBarPanelClickEvent.cs
- unitconverter.cs
- HostedHttpTransportManager.cs
- TabItemWrapperAutomationPeer.cs
- UserControlBuildProvider.cs
- PipelineModuleStepContainer.cs
- PathGeometry.cs
- XmlUTF8TextReader.cs
- BrowserCapabilitiesFactory35.cs
- ToolboxComponentsCreatingEventArgs.cs
- ComPlusInstanceProvider.cs
- PropertyChangedEventManager.cs
- MessageAction.cs
- PropertyItemInternal.cs
- MetabaseSettingsIis7.cs
- SqlDataSourceStatusEventArgs.cs