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
- NumericUpDownAcceleration.cs
- Utils.cs
- BamlResourceContent.cs
- SafeLocalMemHandle.cs
- WpfWebRequestHelper.cs
- Compiler.cs
- ProtocolImporter.cs
- SmiMetaData.cs
- StringAttributeCollection.cs
- BindingContext.cs
- FullTextState.cs
- Metafile.cs
- TraceListener.cs
- NamedPermissionSet.cs
- MailWriter.cs
- HuffModule.cs
- RSAPKCS1KeyExchangeFormatter.cs
- HandlerBase.cs
- CodeComment.cs
- ToggleButtonAutomationPeer.cs
- GenerateHelper.cs
- TriggerActionCollection.cs
- Helper.cs
- ObjectDataSourceWizardForm.cs
- XamlTreeBuilder.cs
- CellRelation.cs
- XPathNavigatorReader.cs
- ProtocolsConfiguration.cs
- ControlBindingsCollection.cs
- BitmapEffectInputData.cs
- QilVisitor.cs
- SiteMapNode.cs
- DesignTimeValidationFeature.cs
- ClientScriptItemCollection.cs
- SqlRemoveConstantOrderBy.cs
- Hyperlink.cs
- SqlDataSourceEnumerator.cs
- Utilities.cs
- TextAdaptor.cs
- OperationDescription.cs
- TdsParserStateObject.cs
- LinearGradientBrush.cs
- WindowsScroll.cs
- FunctionNode.cs
- SHA512Cng.cs
- XPathDocumentIterator.cs
- WebResponse.cs
- ServiceThrottle.cs
- MachineSettingsSection.cs
- WindowsEditBoxRange.cs
- SafeReadContext.cs
- AssociationSetMetadata.cs
- BevelBitmapEffect.cs
- XmlName.cs
- DataConnectionHelper.cs
- Transaction.cs
- HealthMonitoringSectionHelper.cs
- BufferedGraphics.cs
- safePerfProviderHandle.cs
- PageContentCollection.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- XPathDocumentNavigator.cs
- NodeFunctions.cs
- ArcSegment.cs
- IgnoreFileBuildProvider.cs
- SecurityElement.cs
- BamlStream.cs
- smtpconnection.cs
- SafeMILHandleMemoryPressure.cs
- UserNameSecurityTokenAuthenticator.cs
- FormatterServices.cs
- storepermissionattribute.cs
- TransformerInfoCollection.cs
- MarkupWriter.cs
- KeyFrames.cs
- WebPartConnectionsCancelEventArgs.cs
- DirectionalLight.cs
- WebPartCatalogAddVerb.cs
- PersistChildrenAttribute.cs
- UInt64.cs
- BooleanFunctions.cs
- AxImporter.cs
- ColumnMapCopier.cs
- Selection.cs
- PhysicalFontFamily.cs
- ErrorRuntimeConfig.cs
- ToolStripMenuItemCodeDomSerializer.cs
- StrongNameKeyPair.cs
- ConfigurationSection.cs
- TripleDES.cs
- AssociationSetEnd.cs
- PeerObject.cs
- SmiXetterAccessMap.cs
- MimeFormatter.cs
- DataServiceQuery.cs
- ViewGenerator.cs
- DefaultValueConverter.cs
- SubpageParaClient.cs
- ImageList.cs
- Zone.cs