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
- TextReader.cs
- AliasedExpr.cs
- ExceptionUtil.cs
- Rfc4050KeyFormatter.cs
- ColorBlend.cs
- DataBoundControlDesigner.cs
- WindowsGraphicsWrapper.cs
- Helper.cs
- StateDesigner.LayoutSelectionGlyph.cs
- GenericWebPart.cs
- EditorPartCollection.cs
- InputLangChangeRequestEvent.cs
- MappingItemCollection.cs
- AnnotationComponentManager.cs
- FlowNode.cs
- DataStorage.cs
- StylusSystemGestureEventArgs.cs
- validation.cs
- InternalResources.cs
- KeyPullup.cs
- XamlInterfaces.cs
- XmlExpressionDumper.cs
- RichTextBox.cs
- RegistryPermission.cs
- ButtonColumn.cs
- ActivationWorker.cs
- VisualBrush.cs
- ReadOnlyHierarchicalDataSourceView.cs
- DefaultAssemblyResolver.cs
- ConfigurationProviderException.cs
- PageHandlerFactory.cs
- EntitySqlQueryCacheKey.cs
- EnumMember.cs
- MenuStrip.cs
- CopyOfAction.cs
- Aggregates.cs
- NonSerializedAttribute.cs
- EventTrigger.cs
- SecurityRuntime.cs
- DataGridPagerStyle.cs
- HttpListenerTimeoutManager.cs
- WpfKnownTypeInvoker.cs
- SecurityContext.cs
- ReadOnlyDictionary.cs
- CodeChecksumPragma.cs
- Timer.cs
- ASCIIEncoding.cs
- Win32Exception.cs
- Base64Decoder.cs
- WorkerProcess.cs
- OptimalTextSource.cs
- HeaderedContentControl.cs
- AssemblyNameProxy.cs
- ParallelDesigner.xaml.cs
- MediaElementAutomationPeer.cs
- SettingsPropertyValue.cs
- ComboBoxAutomationPeer.cs
- FlowLayoutPanel.cs
- ClientUrlResolverWrapper.cs
- EntityConnectionStringBuilder.cs
- ProgressBarRenderer.cs
- SymbolDocumentInfo.cs
- ParameterRetriever.cs
- TextTreeRootNode.cs
- SemanticBasicElement.cs
- BamlLocalizableResource.cs
- KeyValueSerializer.cs
- TiffBitmapEncoder.cs
- TreeViewHitTestInfo.cs
- CrossContextChannel.cs
- HexParser.cs
- SchemaDeclBase.cs
- DeflateEmulationStream.cs
- MissingMemberException.cs
- Int16Converter.cs
- XmlSchemaType.cs
- MembershipPasswordException.cs
- BasicViewGenerator.cs
- ParsedAttributeCollection.cs
- PropertyEmitterBase.cs
- TextRangeAdaptor.cs
- Lasso.cs
- Rect3D.cs
- ApplicationDirectoryMembershipCondition.cs
- documentsequencetextcontainer.cs
- SslStream.cs
- safex509handles.cs
- LinkedResource.cs
- Array.cs
- OSFeature.cs
- PowerStatus.cs
- ValidatorCompatibilityHelper.cs
- ZoneButton.cs
- SignedXml.cs
- FontStyles.cs
- GenericIdentity.cs
- HtmlPanelAdapter.cs
- HostExecutionContextManager.cs
- Parser.cs
- OperatingSystem.cs