Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Sys / 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
- InputLangChangeRequestEvent.cs
- UrlPath.cs
- GACIdentityPermission.cs
- QilFunction.cs
- ToolStripDropDownClosedEventArgs.cs
- LinqToSqlWrapper.cs
- SqlXmlStorage.cs
- UserNameSecurityToken.cs
- SHA256Managed.cs
- xml.cs
- WebReferencesBuildProvider.cs
- DefaultPrintController.cs
- DebugView.cs
- StorageAssociationTypeMapping.cs
- ProviderConnectionPointCollection.cs
- Parser.cs
- PropertyPushdownHelper.cs
- OpCopier.cs
- XPathMultyIterator.cs
- InvokeHandlers.cs
- QilCloneVisitor.cs
- NativeActivity.cs
- LocatorPart.cs
- LocatorPartList.cs
- TimeoutValidationAttribute.cs
- WebControlAdapter.cs
- XamlTreeBuilder.cs
- SoapSchemaImporter.cs
- LostFocusEventManager.cs
- _BufferOffsetSize.cs
- ContentOperations.cs
- FlowDocumentPageViewerAutomationPeer.cs
- BinaryObjectReader.cs
- TypeTypeConverter.cs
- GetWinFXPath.cs
- Command.cs
- BehaviorService.cs
- HtmlInputPassword.cs
- FirewallWrapper.cs
- PointLightBase.cs
- MatrixAnimationBase.cs
- BindingUtils.cs
- ListenerElementsCollection.cs
- TypedTableBase.cs
- XpsPackagingException.cs
- ListViewDataItem.cs
- SerialPort.cs
- AssertFilter.cs
- AlternationConverter.cs
- XslException.cs
- DbConnectionPool.cs
- DataObjectEventArgs.cs
- LinkedResource.cs
- ContextQuery.cs
- UserNameSecurityTokenProvider.cs
- LazyTextWriterCreator.cs
- DataTemplateSelector.cs
- Vector3DConverter.cs
- CodeBlockBuilder.cs
- EntityDataSource.cs
- WebBrowsableAttribute.cs
- XmlValidatingReaderImpl.cs
- MessageQueueCriteria.cs
- SafeNativeMethods.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- Label.cs
- IndexObject.cs
- StyleXamlTreeBuilder.cs
- ZipIOModeEnforcingStream.cs
- WorkflowMarkupSerializationProvider.cs
- MetadataAssemblyHelper.cs
- TextTreeUndo.cs
- DataServiceStreamProviderWrapper.cs
- Int64AnimationBase.cs
- PublisherIdentityPermission.cs
- complextypematerializer.cs
- CreateRefExpr.cs
- Listener.cs
- BevelBitmapEffect.cs
- RectValueSerializer.cs
- Registration.cs
- RtfToken.cs
- Annotation.cs
- ScrollBar.cs
- Rethrow.cs
- propertytag.cs
- EntityViewContainer.cs
- ConfigurationSection.cs
- EncoderReplacementFallback.cs
- Task.cs
- UserControlAutomationPeer.cs
- MemberAccessException.cs
- DispatchProxy.cs
- OracleBoolean.cs
- Image.cs
- Polyline.cs
- ApplicationBuildProvider.cs
- ClientEventManager.cs
- StickyNoteAnnotations.cs
- ListBindingConverter.cs