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
- ScopelessEnumAttribute.cs
- CookielessHelper.cs
- ModelUIElement3D.cs
- GraphicsContext.cs
- DataComponentNameHandler.cs
- BamlResourceDeserializer.cs
- ScriptResourceAttribute.cs
- GC.cs
- ProfilePropertySettingsCollection.cs
- DistributedTransactionPermission.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- LayoutDump.cs
- DispatcherHooks.cs
- CachedFontFamily.cs
- HtmlPhoneCallAdapter.cs
- unitconverter.cs
- RepeatBehavior.cs
- HttpStreamMessageEncoderFactory.cs
- FigureParagraph.cs
- VectorAnimationUsingKeyFrames.cs
- TaskForm.cs
- sqlnorm.cs
- HostingEnvironmentSection.cs
- EncoderParameters.cs
- EntityType.cs
- WebPartTransformerCollection.cs
- WebPartVerb.cs
- Odbc32.cs
- ObjRef.cs
- BitmapEffectInputConnector.cs
- ParserOptions.cs
- ParameterBuilder.cs
- GridPatternIdentifiers.cs
- Dictionary.cs
- ConstNode.cs
- HtmlAnchor.cs
- Enlistment.cs
- DataControlField.cs
- ObjectDataSourceView.cs
- ipaddressinformationcollection.cs
- EmptyControlCollection.cs
- NavigationExpr.cs
- TableParagraph.cs
- StringComparer.cs
- TimestampInformation.cs
- LockingPersistenceProvider.cs
- NullableDoubleMinMaxAggregationOperator.cs
- TextDocumentView.cs
- SiteMapNodeItem.cs
- EntityDataSourceEntityTypeFilterItem.cs
- shaper.cs
- MatrixTransform3D.cs
- PolicyChain.cs
- CurrencyWrapper.cs
- FamilyCollection.cs
- LongAverageAggregationOperator.cs
- SafeFindHandle.cs
- GeneralTransform3DGroup.cs
- Mappings.cs
- XmlChoiceIdentifierAttribute.cs
- JsonUriDataContract.cs
- ProgressPage.cs
- HtmlTableCell.cs
- ObjectPersistData.cs
- DiagnosticStrings.cs
- TextDecoration.cs
- AttributeProviderAttribute.cs
- DataList.cs
- ReflectionTypeLoadException.cs
- PtsHost.cs
- NamespaceDisplay.xaml.cs
- Pen.cs
- Conditional.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- MimeObjectFactory.cs
- SqlSelectClauseBuilder.cs
- CardSpaceException.cs
- ViewStateException.cs
- NumericUpDown.cs
- COM2Properties.cs
- MethodCallExpression.cs
- SHA512Cng.cs
- BamlVersionHeader.cs
- InputGestureCollection.cs
- ReferentialConstraint.cs
- IntranetCredentialPolicy.cs
- WindowsFormsHostAutomationPeer.cs
- VerificationAttribute.cs
- MetadataProperty.cs
- TypeGeneratedEventArgs.cs
- TypeDelegator.cs
- WebPartTracker.cs
- AssemblyHash.cs
- ping.cs
- GroupStyle.cs
- XmlUrlResolver.cs
- ArithmeticException.cs
- OleDbRowUpdatedEvent.cs
- Geometry3D.cs
- InputLanguageCollection.cs