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
- FlowDocumentPaginator.cs
- InstanceData.cs
- CodeTypeMember.cs
- WebServiceReceiveDesigner.cs
- PEFileEvidenceFactory.cs
- SafeViewOfFileHandle.cs
- FileDialogPermission.cs
- PartialCachingAttribute.cs
- CursorInteropHelper.cs
- DBConcurrencyException.cs
- RoleManagerEventArgs.cs
- TemplateKeyConverter.cs
- KeyBinding.cs
- QilReplaceVisitor.cs
- ContentHostHelper.cs
- RegistrationServices.cs
- DisableDpiAwarenessAttribute.cs
- IPAddress.cs
- SimpleRecyclingCache.cs
- TextSelectionHelper.cs
- XpsSerializationManagerAsync.cs
- CatalogZoneBase.cs
- XPathMultyIterator.cs
- UITypeEditor.cs
- CanonicalFormWriter.cs
- BackgroundFormatInfo.cs
- DbException.cs
- PrintSchema.cs
- ClientOptions.cs
- ObjectNavigationPropertyMapping.cs
- ListenerSingletonConnectionReader.cs
- AdapterUtil.cs
- WindowsIPAddress.cs
- ipaddressinformationcollection.cs
- BaseTemplateBuildProvider.cs
- loginstatus.cs
- ArrayWithOffset.cs
- ObjectHelper.cs
- TextSelectionHelper.cs
- NetSectionGroup.cs
- BindUriHelper.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- SqlDataSourceEnumerator.cs
- HttpCapabilitiesEvaluator.cs
- OracleParameter.cs
- Parser.cs
- DocumentPage.cs
- ConnectionPoolManager.cs
- ColumnPropertiesGroup.cs
- Axis.cs
- TypeInitializationException.cs
- Rotation3DAnimation.cs
- TcpTransportSecurityElement.cs
- IProvider.cs
- SymDocumentType.cs
- BooleanConverter.cs
- PerformanceCountersElement.cs
- ImportCatalogPart.cs
- TraceXPathNavigator.cs
- RealProxy.cs
- DataObjectEventArgs.cs
- DataViewManagerListItemTypeDescriptor.cs
- StrokeCollection.cs
- BinaryReader.cs
- XamlToRtfWriter.cs
- ProgressBar.cs
- ContextQuery.cs
- DataListGeneralPage.cs
- Int32Animation.cs
- RequestSecurityTokenResponse.cs
- DeferredSelectedIndexReference.cs
- StylusButtonCollection.cs
- PageContentAsyncResult.cs
- WebHttpDispatchOperationSelector.cs
- CodeDOMUtility.cs
- CodeAttributeDeclaration.cs
- CodeIterationStatement.cs
- BufferedWebEventProvider.cs
- SerializableTypeCodeDomSerializer.cs
- NotImplementedException.cs
- SslStream.cs
- TableFieldsEditor.cs
- CustomWebEventKey.cs
- HandleValueEditor.cs
- CodeDirectoryCompiler.cs
- XamlToRtfWriter.cs
- UnionCodeGroup.cs
- XmlObjectSerializerWriteContextComplex.cs
- TextParentUndoUnit.cs
- ConnectionInterfaceCollection.cs
- CookieProtection.cs
- FileIOPermission.cs
- SystemIPInterfaceProperties.cs
- XmlTypeMapping.cs
- CodeVariableReferenceExpression.cs
- PropertyDescriptorCollection.cs
- ControlPropertyNameConverter.cs
- SmtpReplyReaderFactory.cs
- StatusBarPanelClickEvent.cs
- TagMapInfo.cs