Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DynamicMethod.cs
- PropertyInfo.cs
- SqlDataSourceStatusEventArgs.cs
- MsmqReceiveHelper.cs
- StreamGeometry.cs
- Converter.cs
- StreamGeometryContext.cs
- MatrixKeyFrameCollection.cs
- ButtonDesigner.cs
- Binding.cs
- FlowPosition.cs
- AssemblyBuilder.cs
- QueryRewriter.cs
- SizeChangedInfo.cs
- MenuTracker.cs
- KeyFrames.cs
- ContextMenuStrip.cs
- DesignBindingEditor.cs
- XPathSingletonIterator.cs
- AtlasWeb.Designer.cs
- Rectangle.cs
- IpcPort.cs
- ElapsedEventArgs.cs
- ProtectedProviderSettings.cs
- initElementDictionary.cs
- ToolStripProgressBar.cs
- RangeEnumerable.cs
- PropertyDescriptorCollection.cs
- COM2IPerPropertyBrowsingHandler.cs
- WebPartConnection.cs
- MetadataCollection.cs
- CapacityStreamGeometryContext.cs
- Compiler.cs
- XamlFrame.cs
- IPPacketInformation.cs
- WpfPayload.cs
- NavigateEvent.cs
- HtmlElement.cs
- X509Chain.cs
- FileRegion.cs
- CancellationHandlerDesigner.cs
- OperationCanceledException.cs
- SHA256Managed.cs
- SqlCrossApplyToCrossJoin.cs
- Renderer.cs
- Polyline.cs
- XmlLoader.cs
- TrackingServices.cs
- Bold.cs
- AlignmentXValidation.cs
- FragmentQueryKB.cs
- MediaScriptCommandRoutedEventArgs.cs
- input.cs
- DictionaryKeyPropertyAttribute.cs
- ProviderSettingsCollection.cs
- SqlSelectStatement.cs
- ProcessHostFactoryHelper.cs
- PasswordBox.cs
- MarkupObject.cs
- DbParameterHelper.cs
- DataGridViewRowPostPaintEventArgs.cs
- Exceptions.cs
- DbXmlEnabledProviderManifest.cs
- WebPartVerbsEventArgs.cs
- HttpCachePolicyElement.cs
- XmlILAnnotation.cs
- coordinator.cs
- AttachmentService.cs
- EntityDataSourceEntityTypeFilterItem.cs
- TextAutomationPeer.cs
- Nodes.cs
- CompilerGlobalScopeAttribute.cs
- PopOutPanel.cs
- CodeAttributeDeclarationCollection.cs
- UndirectedGraph.cs
- ResumeStoryboard.cs
- TypedReference.cs
- PersistenceProviderBehavior.cs
- Bidi.cs
- ByteAnimationBase.cs
- DecoderFallback.cs
- TcpTransportElement.cs
- CTreeGenerator.cs
- SamlNameIdentifierClaimResource.cs
- FocusManager.cs
- LocationReferenceEnvironment.cs
- MailWriter.cs
- TdsParserStateObject.cs
- PublisherIdentityPermission.cs
- TypeViewSchema.cs
- SessionStateModule.cs
- BaseServiceProvider.cs
- SqlUserDefinedAggregateAttribute.cs
- PackageRelationshipSelector.cs
- CryptoKeySecurity.cs
- LayoutUtils.cs
- EntityDataSourceDataSelectionPanel.cs
- ICollection.cs
- ListViewItem.cs
- FormsAuthenticationCredentials.cs