Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- Compiler.cs
- DescriptionAttribute.cs
- ImageIndexConverter.cs
- UriTemplateDispatchFormatter.cs
- JournalEntry.cs
- DrawingBrush.cs
- CodeFieldReferenceExpression.cs
- ScrollProviderWrapper.cs
- CancellationToken.cs
- ClientConfigurationHost.cs
- SmtpMail.cs
- HMACSHA512.cs
- TransformationRules.cs
- MDIControlStrip.cs
- ObjectStateEntry.cs
- GridLength.cs
- ChannelServices.cs
- WorkItem.cs
- XmlAttributeCollection.cs
- AttributeQuery.cs
- WorkflowDebuggerSteppingAttribute.cs
- TriggerBase.cs
- SqlBinder.cs
- NameValueCollection.cs
- Clipboard.cs
- ClosableStream.cs
- DecoderBestFitFallback.cs
- WebPartManagerDesigner.cs
- ADMembershipProvider.cs
- Button.cs
- OdbcHandle.cs
- CodeDelegateInvokeExpression.cs
- ComIntegrationManifestGenerator.cs
- SimpleLine.cs
- SqlDataSourceEnumerator.cs
- WebPartAuthorizationEventArgs.cs
- SqlFormatter.cs
- KeyboardDevice.cs
- AsymmetricSecurityProtocolFactory.cs
- VisualStyleRenderer.cs
- DefaultEventAttribute.cs
- PermissionRequestEvidence.cs
- StrongNameMembershipCondition.cs
- ParameterExpression.cs
- MachineSettingsSection.cs
- Constraint.cs
- BaseConfigurationRecord.cs
- TransformerConfigurationWizardBase.cs
- VScrollProperties.cs
- QueryOutputWriter.cs
- TypeExtensionConverter.cs
- AttributeUsageAttribute.cs
- HttpConfigurationContext.cs
- ModuleBuilder.cs
- QilValidationVisitor.cs
- CustomCredentialPolicy.cs
- GridViewCellAutomationPeer.cs
- TypefaceMap.cs
- ObjectAssociationEndMapping.cs
- JavascriptXmlWriterWrapper.cs
- ObjectDataSourceMethodEventArgs.cs
- CompositeCollectionView.cs
- WebHttpBindingCollectionElement.cs
- AbandonedMutexException.cs
- DiscoveryServerProtocol.cs
- CustomGrammar.cs
- TextEditorSpelling.cs
- XPathBuilder.cs
- EnvelopedSignatureTransform.cs
- TaiwanCalendar.cs
- ActivityTypeResolver.xaml.cs
- StylusTip.cs
- DataGridViewTextBoxEditingControl.cs
- ProfessionalColorTable.cs
- XmlLanguageConverter.cs
- HttpCacheVaryByContentEncodings.cs
- BindingGraph.cs
- CorrelationManager.cs
- ArrayConverter.cs
- UnsafeNativeMethods.cs
- _SingleItemRequestCache.cs
- QueryOptionExpression.cs
- XXXOnTypeBuilderInstantiation.cs
- XPathScanner.cs
- FilteredXmlReader.cs
- Convert.cs
- CommentEmitter.cs
- FactoryRecord.cs
- OperandQuery.cs
- XmlEncodedRawTextWriter.cs
- AdRotator.cs
- SqlServices.cs
- NetworkStream.cs
- ProviderConnectionPoint.cs
- AssemblyAttributes.cs
- WebPartAuthorizationEventArgs.cs
- FormsAuthenticationUser.cs
- GridViewDeleteEventArgs.cs
- OracleParameterBinding.cs
- MonthCalendar.cs