Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / 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
- ValidateNames.cs
- ScrollChrome.cs
- XsdDuration.cs
- FormViewPageEventArgs.cs
- TraceContext.cs
- ToolStripItemCollection.cs
- DesignerExtenders.cs
- FileLevelControlBuilderAttribute.cs
- ViewStateException.cs
- InteropEnvironment.cs
- RuntimeVariableList.cs
- VerticalAlignConverter.cs
- RSAPKCS1SignatureDeformatter.cs
- ConfigurationValidatorBase.cs
- PreservationFileReader.cs
- AlternateViewCollection.cs
- SoapFormatter.cs
- FormatVersion.cs
- UnsafeNativeMethods.cs
- SpeechSeg.cs
- ToolStripRenderEventArgs.cs
- ParserStreamGeometryContext.cs
- XmlSerializableWriter.cs
- DataGridClipboardHelper.cs
- WebPartZoneCollection.cs
- Script.cs
- DistinctQueryOperator.cs
- CodeActivityMetadata.cs
- OleCmdHelper.cs
- WindowsSpinner.cs
- ChannelPoolSettings.cs
- Boolean.cs
- ComPersistableTypeElement.cs
- SequentialActivityDesigner.cs
- SectionVisual.cs
- FontUnit.cs
- SiteMapHierarchicalDataSourceView.cs
- documentsequencetextcontainer.cs
- AdornerPresentationContext.cs
- MessageBox.cs
- GridViewUpdateEventArgs.cs
- WebBrowserNavigatedEventHandler.cs
- StronglyTypedResourceBuilder.cs
- ButtonPopupAdapter.cs
- CoTaskMemHandle.cs
- VScrollProperties.cs
- EndpointIdentity.cs
- Track.cs
- LambdaCompiler.Generated.cs
- IPPacketInformation.cs
- BaseCodePageEncoding.cs
- ContainerUIElement3D.cs
- DataControlCommands.cs
- SmtpMail.cs
- NameService.cs
- SendMailErrorEventArgs.cs
- Page.cs
- TextParagraphView.cs
- ObjectDataSourceEventArgs.cs
- XhtmlTextWriter.cs
- DirectoryGroupQuery.cs
- SByteStorage.cs
- ColorConvertedBitmap.cs
- AxHost.cs
- SamlAuthorityBinding.cs
- ContextDataSourceView.cs
- XmlAnyAttributeAttribute.cs
- User.cs
- PolyQuadraticBezierSegment.cs
- XhtmlBasicTextBoxAdapter.cs
- AlphabeticalEnumConverter.cs
- AppDomainShutdownMonitor.cs
- WebServiceReceiveDesigner.cs
- BigInt.cs
- ConstructorBuilder.cs
- Util.cs
- NetworkInterface.cs
- UdpTransportBindingElement.cs
- JsonWriter.cs
- ControlPropertyNameConverter.cs
- SemanticResultValue.cs
- StreamWithDictionary.cs
- PointConverter.cs
- TextChange.cs
- SchemaCollectionCompiler.cs
- DataServiceException.cs
- COM2IPerPropertyBrowsingHandler.cs
- CacheAxisQuery.cs
- PartialCachingControl.cs
- DependencyPropertyDescriptor.cs
- QilValidationVisitor.cs
- RootProfilePropertySettingsCollection.cs
- WpfXamlLoader.cs
- BaseResourcesBuildProvider.cs
- TextTreeText.cs
- PropertyReferenceSerializer.cs
- SoapSchemaMember.cs
- AuthenticateEventArgs.cs
- AsyncOperation.cs
- XmlSchemaRedefine.cs