Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Sys / System / Configuration / ConfigXmlText.cs / 1 / 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
- RenderOptions.cs
- CachedPathData.cs
- VectorValueSerializer.cs
- RegistryPermission.cs
- ComponentRenameEvent.cs
- CqlParser.cs
- OleDbConnection.cs
- SettingsAttributes.cs
- ConfigErrorGlyph.cs
- CachedTypeface.cs
- FormView.cs
- ImageMapEventArgs.cs
- ErrorWebPart.cs
- serverconfig.cs
- ListControlStringCollectionEditor.cs
- TraceSource.cs
- TdsParameterSetter.cs
- MaterializeFromAtom.cs
- TextBlockAutomationPeer.cs
- SessionPageStatePersister.cs
- MgmtConfigurationRecord.cs
- ToolStripRenderer.cs
- RealizationContext.cs
- PipeException.cs
- ExpressionList.cs
- DBSchemaRow.cs
- EpmCustomContentWriterNodeData.cs
- StreamGeometry.cs
- Literal.cs
- DataGridViewCellStyleConverter.cs
- TraceHandler.cs
- FileInfo.cs
- DefinitionUpdate.cs
- SpecialFolderEnumConverter.cs
- Translator.cs
- SystemInformation.cs
- RestHandler.cs
- HtmlListAdapter.cs
- UniqueContractNameValidationBehavior.cs
- DirectoryInfo.cs
- AsyncPostBackTrigger.cs
- Environment.cs
- EntitySqlException.cs
- CodeMethodInvokeExpression.cs
- AmbientProperties.cs
- DataServicePagingProviderWrapper.cs
- XmlQueryRuntime.cs
- CodeObjectCreateExpression.cs
- _UncName.cs
- SHA256.cs
- PerformanceCounterPermissionEntry.cs
- ImageDrawing.cs
- ProtocolsConfigurationEntry.cs
- IImplicitResourceProvider.cs
- ExtendedProperty.cs
- ArgumentsParser.cs
- XamlTemplateSerializer.cs
- MetadataPropertyvalue.cs
- ProcessModule.cs
- TextTreeTextNode.cs
- DataObjectSettingDataEventArgs.cs
- SubMenuStyleCollection.cs
- Highlights.cs
- MetadataArtifactLoaderResource.cs
- MediaTimeline.cs
- InstanceLockLostException.cs
- WeakEventManager.cs
- LocalizationParserHooks.cs
- ColumnBinding.cs
- HttpListenerRequest.cs
- BinaryCommonClasses.cs
- FlowDocumentReader.cs
- InternalConfigEventArgs.cs
- DataServiceBuildProvider.cs
- SearchForVirtualItemEventArgs.cs
- CachedFontFamily.cs
- TypePropertyEditor.cs
- SQLBoolean.cs
- _SslStream.cs
- StrokeCollectionConverter.cs
- QuadraticBezierSegment.cs
- EventLogger.cs
- StateWorkerRequest.cs
- Bidi.cs
- DateTimeOffset.cs
- Function.cs
- InvalidEnumArgumentException.cs
- NullableLongMinMaxAggregationOperator.cs
- SrgsElementFactoryCompiler.cs
- ModifyActivitiesPropertyDescriptor.cs
- WindowsFormsHelpers.cs
- TypedTableBase.cs
- Types.cs
- VectorAnimationUsingKeyFrames.cs
- SqlCacheDependencyDatabaseCollection.cs
- DataControlFieldCell.cs
- CompilerGlobalScopeAttribute.cs
- Parser.cs
- Vector3D.cs
- AudioLevelUpdatedEventArgs.cs