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
- CompressionTransform.cs
- DataGridViewSelectedRowCollection.cs
- ContentPropertyAttribute.cs
- AsyncPostBackTrigger.cs
- RectangleConverter.cs
- DataGridColumnHeaderCollection.cs
- FunctionNode.cs
- Config.cs
- DocumentApplicationJournalEntry.cs
- SchemaCollectionCompiler.cs
- FixedTextBuilder.cs
- GridViewHeaderRowPresenter.cs
- ImageFormatConverter.cs
- SqlDataSourceCommandEventArgs.cs
- BoolExpr.cs
- SoapIgnoreAttribute.cs
- ArgumentsParser.cs
- ReadOnlyCollection.cs
- UnaryOperationBinder.cs
- ObjectQueryState.cs
- BitmapEffect.cs
- DefaultAuthorizationContext.cs
- ColumnResult.cs
- TextDecoration.cs
- ReturnEventArgs.cs
- ObjectView.cs
- RegistrationServices.cs
- X509Chain.cs
- ResolveResponse.cs
- WindowShowOrOpenTracker.cs
- UnsafeMethods.cs
- LicenseException.cs
- ImageDrawing.cs
- BindingExpression.cs
- UnsafeNativeMethodsMilCoreApi.cs
- TiffBitmapEncoder.cs
- DescendantQuery.cs
- AccessorTable.cs
- SizeChangedInfo.cs
- EntityDesignerUtils.cs
- EntityDataSourceContextCreatedEventArgs.cs
- FamilyCollection.cs
- OracleDataReader.cs
- TransformValueSerializer.cs
- OpCopier.cs
- DrawingContextDrawingContextWalker.cs
- IssuanceLicense.cs
- WebPartDescriptionCollection.cs
- TextFormatterImp.cs
- _SpnDictionary.cs
- MenuStrip.cs
- _ConnectOverlappedAsyncResult.cs
- DataPagerCommandEventArgs.cs
- SqlDataSourceDesigner.cs
- DocumentViewerAutomationPeer.cs
- SqlPersonalizationProvider.cs
- MediaPlayer.cs
- MethodToken.cs
- ClientCultureInfo.cs
- _Connection.cs
- XsltQilFactory.cs
- querybuilder.cs
- DynamicObjectAccessor.cs
- ExtensionSimplifierMarkupObject.cs
- ContentIterators.cs
- DynamicQueryableWrapper.cs
- IfAction.cs
- MD5.cs
- SqlCacheDependency.cs
- XmlRootAttribute.cs
- EntityKeyElement.cs
- Activity.cs
- AsyncInvokeOperation.cs
- XmlCharType.cs
- ScopelessEnumAttribute.cs
- CodeGenerator.cs
- DeclaredTypeValidator.cs
- ExtensionDataObject.cs
- DataContractSerializerElement.cs
- MetadataSet.cs
- WindowsTokenRoleProvider.cs
- XmlDataContract.cs
- DbConnectionPoolGroupProviderInfo.cs
- EditorServiceContext.cs
- DbMetaDataCollectionNames.cs
- HttpCapabilitiesEvaluator.cs
- CounterSetInstanceCounterDataSet.cs
- ServiceDescriptionImporter.cs
- EntityDataSourceViewSchema.cs
- XsltCompileContext.cs
- SymbolEqualComparer.cs
- UTF32Encoding.cs
- ContentType.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- SecurityVerifiedMessage.cs
- BitmapEffectGroup.cs
- SocketElement.cs
- EditorReuseAttribute.cs
- FormViewCommandEventArgs.cs
- RequestStatusBarUpdateEventArgs.cs