Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Configuration / System / Configuration / ConfigXmlComment.cs / 1 / ConfigXmlComment.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 ConfigXmlComment : XmlComment, IConfigErrorInfo { int _line; string _filename; public ConfigXmlComment( string filename, int line, string comment, XmlDocument doc ) : base( comment, 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); ConfigXmlComment clone = cloneNode as ConfigXmlComment; 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 ConfigXmlComment : XmlComment, IConfigErrorInfo { int _line; string _filename; public ConfigXmlComment( string filename, int line, string comment, XmlDocument doc ) : base( comment, 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); ConfigXmlComment clone = cloneNode as ConfigXmlComment; 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
- TraceLevelStore.cs
- DocumentViewerBase.cs
- Button.cs
- CapabilitiesPattern.cs
- securitycriticaldata.cs
- SecUtil.cs
- UIAgentInitializationException.cs
- AccessedThroughPropertyAttribute.cs
- MetaChildrenColumn.cs
- TaskFileService.cs
- Lasso.cs
- HttpHeaderCollection.cs
- filewebrequest.cs
- XmlSchemaAny.cs
- WebPartsPersonalizationAuthorization.cs
- SpecialNameAttribute.cs
- HasCopySemanticsAttribute.cs
- BitmapEffectInputData.cs
- SHA256.cs
- BulletDecorator.cs
- SizeValueSerializer.cs
- DbConnectionClosed.cs
- SapiRecoInterop.cs
- TypeSemantics.cs
- CounterCreationDataConverter.cs
- HttpListenerPrefixCollection.cs
- URLAttribute.cs
- ScrollableControlDesigner.cs
- ScrollData.cs
- EntityDataSourceValidationException.cs
- MailBnfHelper.cs
- PropertyInformation.cs
- DataGridViewComboBoxEditingControl.cs
- ConfigXmlDocument.cs
- Mouse.cs
- StrokeSerializer.cs
- SqlColumnizer.cs
- AppDomainGrammarProxy.cs
- ValidationErrorCollection.cs
- AuthenticationException.cs
- DataServiceQueryProvider.cs
- FormatSettings.cs
- ObjectConverter.cs
- JsonDeserializer.cs
- SchemaElementDecl.cs
- ProfileModule.cs
- GradientStop.cs
- AsyncStreamReader.cs
- DataSourceControlBuilder.cs
- ByteStreamGeometryContext.cs
- ErrorCodes.cs
- x509store.cs
- AuthStoreRoleProvider.cs
- SqlDataSourceSelectingEventArgs.cs
- TemplateControlCodeDomTreeGenerator.cs
- StrongNameKeyPair.cs
- StringToken.cs
- SqlInternalConnection.cs
- UTF32Encoding.cs
- ArglessEventHandlerProxy.cs
- RegisteredHiddenField.cs
- PartialClassGenerationTask.cs
- WindowsStatusBar.cs
- StaticResourceExtension.cs
- GlobalizationAssembly.cs
- BinaryFormatterWriter.cs
- ClassGenerator.cs
- CompareValidator.cs
- TraceSwitch.cs
- XmlReflectionMember.cs
- RenamedEventArgs.cs
- Asn1IntegerConverter.cs
- XmlAtomicValue.cs
- TraceHandlerErrorFormatter.cs
- PngBitmapEncoder.cs
- __Filters.cs
- AuthenticationConfig.cs
- WebPartsPersonalizationAuthorization.cs
- MediaCommands.cs
- SocketException.cs
- DebugView.cs
- ValueProviderWrapper.cs
- DataTableNewRowEvent.cs
- HttpWriter.cs
- TypeElement.cs
- PagesChangedEventArgs.cs
- SqlReorderer.cs
- SafeNativeMethods.cs
- XmlArrayAttribute.cs
- RegexCaptureCollection.cs
- OleDbParameter.cs
- ParallelActivityDesigner.cs
- AsyncContentLoadedEventArgs.cs
- Transactions.cs
- RewritingSimplifier.cs
- RC2CryptoServiceProvider.cs
- SettingsPropertyWrongTypeException.cs
- AttachedPropertyMethodSelector.cs
- QueryableDataSource.cs
- RightsManagementPermission.cs