Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- OdbcEnvironmentHandle.cs
- AuthenticateEventArgs.cs
- DispatcherHooks.cs
- ConsoleKeyInfo.cs
- QilParameter.cs
- TimeSpanConverter.cs
- FormParameter.cs
- IndicFontClient.cs
- ILGenerator.cs
- ServiceBuildProvider.cs
- MultiPartWriter.cs
- TimeoutException.cs
- SqlDataSourceStatusEventArgs.cs
- ErrorsHelper.cs
- MetadataUtilsSmi.cs
- SafeFileMapViewHandle.cs
- CompiledRegexRunnerFactory.cs
- TextTreeRootNode.cs
- DynamicRouteExpression.cs
- ProjectionCamera.cs
- XmlWhitespace.cs
- XmlSerializerSection.cs
- InvalidFilterCriteriaException.cs
- ValueTypeFixupInfo.cs
- SqlErrorCollection.cs
- ColorPalette.cs
- XslCompiledTransform.cs
- ExternalCalls.cs
- IDQuery.cs
- ProofTokenCryptoHandle.cs
- TraceListeners.cs
- XPathPatternBuilder.cs
- AnimationClockResource.cs
- ContentIterators.cs
- XamlFilter.cs
- HttpCachePolicy.cs
- ButtonFieldBase.cs
- ObjectListShowCommandsEventArgs.cs
- Proxy.cs
- ObjectListCommandCollection.cs
- DynamicDocumentPaginator.cs
- WCFModelStrings.Designer.cs
- SendActivityDesigner.cs
- SQLInt16.cs
- LicenseProviderAttribute.cs
- CheckBox.cs
- QueryInterceptorAttribute.cs
- MouseGestureConverter.cs
- BitmapEffectState.cs
- Compress.cs
- QilName.cs
- DataChangedEventManager.cs
- HtmlElementCollection.cs
- BufferModesCollection.cs
- assemblycache.cs
- RelatedImageListAttribute.cs
- Stacktrace.cs
- MemoryRecordBuffer.cs
- NameValueSectionHandler.cs
- TextParaClient.cs
- ModelItemDictionaryImpl.cs
- DurableRuntimeValidator.cs
- DoubleLink.cs
- FontStretch.cs
- EntityDataSourceDataSelection.cs
- OleStrCAMarshaler.cs
- LicenseManager.cs
- PeerNameRecordCollection.cs
- SiteIdentityPermission.cs
- WebPartExportVerb.cs
- ListViewItemEventArgs.cs
- NamespaceExpr.cs
- WebServiceTypeData.cs
- SynchronizedReadOnlyCollection.cs
- XMLSyntaxException.cs
- OdbcEnvironment.cs
- XmlNamedNodeMap.cs
- VarRefManager.cs
- X509Extension.cs
- AspProxy.cs
- X509ChainElement.cs
- HandleRef.cs
- WebPartAddingEventArgs.cs
- linebase.cs
- HelpEvent.cs
- SelectionEditor.cs
- CommonDialog.cs
- GridItemPatternIdentifiers.cs
- ServiceOperationListItemList.cs
- DbParameterCollectionHelper.cs
- SafeNativeMethods.cs
- TextBounds.cs
- QueryExpression.cs
- MultiBindingExpression.cs
- AttachInfo.cs
- MLangCodePageEncoding.cs
- BinaryObjectWriter.cs
- XmlSchemaRedefine.cs
- NavigatorOutput.cs
- StatusBarPanelClickEvent.cs