Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- RelationalExpressions.cs
- TextElement.cs
- CodeSnippetTypeMember.cs
- IntegerFacetDescriptionElement.cs
- AssociationTypeEmitter.cs
- ApplicationSecurityManager.cs
- SafeSystemMetrics.cs
- CounterSample.cs
- ChangeConflicts.cs
- GridEntry.cs
- OnOperation.cs
- ProcessInputEventArgs.cs
- FacetChecker.cs
- SerializationSectionGroup.cs
- ImageMap.cs
- nulltextcontainer.cs
- EdmScalarPropertyAttribute.cs
- TcpDuplicateContext.cs
- ProcessInfo.cs
- DataSourceCache.cs
- SchemaDeclBase.cs
- LabelLiteral.cs
- AuthenticationException.cs
- GlyphElement.cs
- DataGridBeginningEditEventArgs.cs
- HandledMouseEvent.cs
- FloaterBaseParagraph.cs
- AnnotationResourceCollection.cs
- wmiprovider.cs
- regiisutil.cs
- SignatureHelper.cs
- JavaScriptString.cs
- LiteralControl.cs
- DiscoveryMessageSequence11.cs
- ExclusiveTcpListener.cs
- RegisteredHiddenField.cs
- RegexTypeEditor.cs
- CodePageEncoding.cs
- RegexWorker.cs
- PagerSettings.cs
- ipaddressinformationcollection.cs
- GridViewRow.cs
- RangeBase.cs
- EventMappingSettingsCollection.cs
- xmlformatgeneratorstatics.cs
- JsonQNameDataContract.cs
- RequestCacheValidator.cs
- XNodeNavigator.cs
- Missing.cs
- DataKeyPropertyAttribute.cs
- MetadataPropertyAttribute.cs
- DrawTreeNodeEventArgs.cs
- AggregateException.cs
- ConfigXmlText.cs
- MimeWriter.cs
- DateTimeValueSerializer.cs
- DocumentApplication.cs
- DisposableCollectionWrapper.cs
- DataGridViewCellMouseEventArgs.cs
- HtmlPhoneCallAdapter.cs
- MessageSecurityVersion.cs
- Maps.cs
- entitydatasourceentitysetnameconverter.cs
- SmiRecordBuffer.cs
- RenderDataDrawingContext.cs
- HostingEnvironment.cs
- SqlBuffer.cs
- MethodCallConverter.cs
- Vector3dCollection.cs
- Compiler.cs
- Normalization.cs
- DirectoryObjectSecurity.cs
- RedirectionProxy.cs
- TraceContextRecord.cs
- CodeCompiler.cs
- SynchronizationValidator.cs
- DockPatternIdentifiers.cs
- CssClassPropertyAttribute.cs
- SoapServerProtocol.cs
- CalendarSelectionChangedEventArgs.cs
- FormCollection.cs
- InputMethod.cs
- ConnectionManagementElementCollection.cs
- TypeTypeConverter.cs
- ZipIOLocalFileDataDescriptor.cs
- DataReceivedEventArgs.cs
- GridViewPageEventArgs.cs
- MessageDroppedTraceRecord.cs
- StretchValidation.cs
- KnownBoxes.cs
- LogLogRecord.cs
- mediaeventshelper.cs
- InvalidOleVariantTypeException.cs
- CatalogPart.cs
- MulticastNotSupportedException.cs
- ConstructorBuilder.cs
- AppLevelCompilationSectionCache.cs
- ObjectDataSourceChooseMethodsPanel.cs
- RouteData.cs
- FloaterBaseParaClient.cs