Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- PageStatePersister.cs
- ClassImporter.cs
- SafeSecurityHelper.cs
- DataServiceResponse.cs
- DataGridViewAutoSizeModeEventArgs.cs
- odbcmetadatacollectionnames.cs
- SQLBoolean.cs
- GridViewRowCollection.cs
- ProtectedConfiguration.cs
- ImageFormatConverter.cs
- GuidelineSet.cs
- CultureInfoConverter.cs
- WindowsSysHeader.cs
- HtmlLink.cs
- ObjectListDesigner.cs
- DataRowCollection.cs
- MethodImplAttribute.cs
- InvalidEnumArgumentException.cs
- OptimizerPatterns.cs
- NaturalLanguageHyphenator.cs
- PackWebRequestFactory.cs
- PropertyDescriptor.cs
- MultipartContentParser.cs
- QueryOutputWriter.cs
- EntityProviderServices.cs
- ContentFilePart.cs
- URI.cs
- FrameworkContentElement.cs
- HighContrastHelper.cs
- InstanceLockLostException.cs
- AstTree.cs
- DrawListViewSubItemEventArgs.cs
- HashRepartitionStream.cs
- CollectionBase.cs
- Matrix.cs
- List.cs
- Config.cs
- RotationValidation.cs
- PropertyBuilder.cs
- Stream.cs
- UnsafeNetInfoNativeMethods.cs
- ProcessHost.cs
- ProfileBuildProvider.cs
- DllNotFoundException.cs
- AsyncStreamReader.cs
- MsmqIntegrationInputChannel.cs
- SafeCryptoHandles.cs
- MergePropertyDescriptor.cs
- CharacterHit.cs
- ProjectionCamera.cs
- RouteUrlExpressionBuilder.cs
- SynchronizedDispatch.cs
- FixedBufferAttribute.cs
- Stream.cs
- HttpStaticObjectsCollectionWrapper.cs
- EventDrivenDesigner.cs
- dtdvalidator.cs
- GraphicsState.cs
- LayoutInformation.cs
- PropertyGeneratedEventArgs.cs
- MembershipPasswordException.cs
- Coordinator.cs
- TransformPattern.cs
- FixedDocumentSequencePaginator.cs
- AuthenticationService.cs
- ToolStripGripRenderEventArgs.cs
- HttpRuntime.cs
- AutomationProperties.cs
- OlePropertyStructs.cs
- StylusPointPropertyId.cs
- FrameAutomationPeer.cs
- CapabilitiesSection.cs
- XmlSchemaSimpleType.cs
- WindowHideOrCloseTracker.cs
- FileLevelControlBuilderAttribute.cs
- EncoderBestFitFallback.cs
- CompoundFileStreamReference.cs
- ColorInterpolationModeValidation.cs
- DataListItemCollection.cs
- _LocalDataStore.cs
- ScriptControl.cs
- XmlHierarchicalEnumerable.cs
- ProfilePropertyMetadata.cs
- CodeDelegateCreateExpression.cs
- RightsManagementPermission.cs
- CompilerInfo.cs
- DrawingImage.cs
- QuerySelectOp.cs
- ToolStripItemGlyph.cs
- XmlAttributeCollection.cs
- DataControlFieldsEditor.cs
- MachineKeySection.cs
- DataBinding.cs
- HandleCollector.cs
- SettingsProperty.cs
- ItemMap.cs
- codemethodreferenceexpression.cs
- WaitHandle.cs
- FixedLineResult.cs
- TraceData.cs