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
- DynamicQueryableWrapper.cs
- XamlRtfConverter.cs
- PrintingPermissionAttribute.cs
- RotateTransform.cs
- TypeSystemHelpers.cs
- Utility.cs
- XmlResolver.cs
- FilterQuery.cs
- XmlSchemaSimpleTypeUnion.cs
- SignatureDescription.cs
- LabelLiteral.cs
- ListViewGroupItemCollection.cs
- FrugalMap.cs
- TextTreeText.cs
- XmlSerializableWriter.cs
- RowToParametersTransformer.cs
- LinqDataView.cs
- XmlSchemaAttributeGroupRef.cs
- HandledMouseEvent.cs
- DriveInfo.cs
- SafeEventLogWriteHandle.cs
- StreamResourceInfo.cs
- ControlBuilder.cs
- Point4D.cs
- HelpProvider.cs
- WebContext.cs
- SessionEndedEventArgs.cs
- HScrollProperties.cs
- UpdateEventArgs.cs
- TransformerConfigurationWizardBase.cs
- BitmapEffectCollection.cs
- ActivityValidator.cs
- DataGridViewCellConverter.cs
- SkewTransform.cs
- OleDbParameterCollection.cs
- PerformanceCounterManager.cs
- UdpDiscoveryEndpointProvider.cs
- Int16.cs
- xml.cs
- GC.cs
- CancelEventArgs.cs
- IdentitySection.cs
- SchemaEntity.cs
- StateManagedCollection.cs
- KeyValuePairs.cs
- RepeaterItem.cs
- HttpWebRequest.cs
- RegisteredDisposeScript.cs
- PeerInvitationResponse.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- SafeHandles.cs
- LogicalExpr.cs
- TableDetailsRow.cs
- M3DUtil.cs
- CodeVariableDeclarationStatement.cs
- CodeTypeReferenceExpression.cs
- ConditionalAttribute.cs
- mansign.cs
- TextTreeFixupNode.cs
- TagPrefixCollection.cs
- AsymmetricSignatureFormatter.cs
- TextChangedEventArgs.cs
- ByteAnimationUsingKeyFrames.cs
- DispatcherExceptionEventArgs.cs
- ValidationError.cs
- HelpFileFileNameEditor.cs
- FlowDocumentFormatter.cs
- _UncName.cs
- QueryContext.cs
- ColumnBinding.cs
- LinkLabelLinkClickedEvent.cs
- DesignerCategoryAttribute.cs
- DataComponentGenerator.cs
- XmlNode.cs
- RegexWorker.cs
- IteratorDescriptor.cs
- ProxyWebPartConnectionCollection.cs
- ParallelTimeline.cs
- SkinIDTypeConverter.cs
- DefaultWorkflowTransactionService.cs
- MessageHeaderT.cs
- RuleInfoComparer.cs
- Win32PrintDialog.cs
- HelpEvent.cs
- ConditionChanges.cs
- BamlRecordHelper.cs
- Span.cs
- MD5Cng.cs
- As.cs
- Utils.cs
- Label.cs
- AppDomain.cs
- LocationSectionRecord.cs
- VariableModifiersHelper.cs
- HttpHandlersSection.cs
- InfoCardArgumentException.cs
- LambdaCompiler.Binary.cs
- LongSumAggregationOperator.cs
- VirtualPathProvider.cs
- AutoCompleteStringCollection.cs