Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / ConfigXmlComment.cs / 1305376 / 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
- COM2EnumConverter.cs
- PartManifestEntry.cs
- HtmlMeta.cs
- SoapSchemaImporter.cs
- RouteParametersHelper.cs
- DynamicPropertyReader.cs
- controlskin.cs
- DirectionalLight.cs
- MimeMultiPart.cs
- ContentOnlyMessage.cs
- DropShadowBitmapEffect.cs
- DayRenderEvent.cs
- WebFormsRootDesigner.cs
- SolidColorBrush.cs
- CompiledRegexRunner.cs
- OutputCacheSettings.cs
- QilFactory.cs
- Select.cs
- RsaSecurityToken.cs
- IntranetCredentialPolicy.cs
- RenderDataDrawingContext.cs
- AutoGeneratedFieldProperties.cs
- TableNameAttribute.cs
- XsdDateTime.cs
- VectorConverter.cs
- ProcessProtocolHandler.cs
- PreviewPrintController.cs
- FileFormatException.cs
- base64Transforms.cs
- UpdateProgress.cs
- ResourceReferenceKeyNotFoundException.cs
- EntityException.cs
- _TransmitFileOverlappedAsyncResult.cs
- Bitmap.cs
- InternalTransaction.cs
- ConfigurationStrings.cs
- GroupedContextMenuStrip.cs
- EmissiveMaterial.cs
- FormViewPagerRow.cs
- XMLUtil.cs
- ProxySimple.cs
- CodeGenerationManager.cs
- ChtmlTextWriter.cs
- CacheRequest.cs
- FormParameter.cs
- IgnoreSection.cs
- ShapeTypeface.cs
- Grid.cs
- Image.cs
- BinaryObjectWriter.cs
- SiteMapHierarchicalDataSourceView.cs
- LocalizableAttribute.cs
- TreeNodeCollection.cs
- Zone.cs
- DataRow.cs
- HMACSHA1.cs
- ServiceEndpointCollection.cs
- TargetInvocationException.cs
- HttpProfileBase.cs
- DataSourceControlBuilder.cs
- ScriptModule.cs
- SystemResourceHost.cs
- AppDomainProtocolHandler.cs
- RadialGradientBrush.cs
- FacetValues.cs
- HtmlElementCollection.cs
- TimelineClockCollection.cs
- NetPeerTcpBindingCollectionElement.cs
- FileUtil.cs
- DataGridViewRowPrePaintEventArgs.cs
- ADConnectionHelper.cs
- ToolStripLabel.cs
- SerializerWriterEventHandlers.cs
- GridToolTip.cs
- EntityConnection.cs
- DataGridViewCellConverter.cs
- AnnotationComponentManager.cs
- PeerEndPoint.cs
- SerializationObjectManager.cs
- OleDbReferenceCollection.cs
- ChangeProcessor.cs
- WSSecurityPolicy.cs
- WebPartMenuStyle.cs
- XmlILOptimizerVisitor.cs
- SafeProcessHandle.cs
- DataGridViewCellParsingEventArgs.cs
- ProcessThreadCollection.cs
- ProcessModuleCollection.cs
- IDReferencePropertyAttribute.cs
- FontNamesConverter.cs
- TableDetailsCollection.cs
- BitSet.cs
- Transform.cs
- PtsPage.cs
- DebugController.cs
- StringValueSerializer.cs
- DataGridComponentEditor.cs
- BamlWriter.cs
- Attributes.cs
- PartitionResolver.cs