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
- StandardCommands.cs
- LookupBindingPropertiesAttribute.cs
- ConfigurationProperty.cs
- WrapperEqualityComparer.cs
- BitmapScalingModeValidation.cs
- BamlResourceSerializer.cs
- DebugView.cs
- DashStyle.cs
- CachedFontFamily.cs
- XmlMemberMapping.cs
- WinFormsSecurity.cs
- ProjectedSlot.cs
- DatatypeImplementation.cs
- IRCollection.cs
- WaitHandleCannotBeOpenedException.cs
- DataGridAutoFormat.cs
- HttpEncoderUtility.cs
- BuildManagerHost.cs
- XmlFormatWriterGenerator.cs
- streamingZipPartStream.cs
- RelationalExpressions.cs
- WorkItem.cs
- DisplayNameAttribute.cs
- PersistChildrenAttribute.cs
- SqlCommandSet.cs
- BinaryCommonClasses.cs
- ValidationErrorCollection.cs
- TypeConverterHelper.cs
- ConstraintCollection.cs
- PathFigureCollectionValueSerializer.cs
- ThrowOnMultipleAssignment.cs
- HttpServerVarsCollection.cs
- SizeChangedInfo.cs
- TypedTableBase.cs
- HotCommands.cs
- DbInsertCommandTree.cs
- ProfileProvider.cs
- DateTimeFormatInfoScanner.cs
- assemblycache.cs
- TableLayoutStyleCollection.cs
- WeakEventManager.cs
- CodeBlockBuilder.cs
- TimelineGroup.cs
- sqlstateclientmanager.cs
- XmlSchemas.cs
- UnaryNode.cs
- XmlNavigatorFilter.cs
- DataComponentGenerator.cs
- DropTarget.cs
- WebSysDisplayNameAttribute.cs
- HttpPostedFile.cs
- OleDbRowUpdatingEvent.cs
- ShaderRenderModeValidation.cs
- Brush.cs
- FlowDocumentReaderAutomationPeer.cs
- InputMethod.cs
- WindowsScrollBar.cs
- lengthconverter.cs
- FormViewDeleteEventArgs.cs
- XhtmlBasicLinkAdapter.cs
- WindowsHyperlink.cs
- DataSourceExpression.cs
- TraceEventCache.cs
- CreateUserErrorEventArgs.cs
- QuaternionConverter.cs
- elementinformation.cs
- ReadOnlyPropertyMetadata.cs
- BitArray.cs
- CodeFieldReferenceExpression.cs
- DataRelationCollection.cs
- WinEventHandler.cs
- DbBuffer.cs
- NotImplementedException.cs
- DeviceContexts.cs
- HandleCollector.cs
- CmsUtils.cs
- FeatureAttribute.cs
- SecurityContextSecurityTokenParameters.cs
- Page.cs
- XmlWrappingReader.cs
- DataPointer.cs
- InternalControlCollection.cs
- ConstructorNeedsTagAttribute.cs
- DataError.cs
- Stackframe.cs
- QilValidationVisitor.cs
- CodeNamespace.cs
- InfoCardRequestException.cs
- OleCmdHelper.cs
- CodeExpressionCollection.cs
- TemplateColumn.cs
- ByteStack.cs
- CodeAccessSecurityEngine.cs
- DataGridViewLayoutData.cs
- XmlReturnWriter.cs
- ScriptingWebServicesSectionGroup.cs
- ParameterCollection.cs
- AsyncWaitHandle.cs
- ProfileProvider.cs
- AsymmetricSecurityProtocolFactory.cs