Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / System / Configuration / ConfigXmlComment.cs / 1305376 / 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
- SpeechRecognitionEngine.cs
- RegexBoyerMoore.cs
- AspNetRouteServiceHttpHandler.cs
- _AuthenticationState.cs
- FtpWebResponse.cs
- PageWrapper.cs
- UrlMappingsModule.cs
- SQLString.cs
- FixedSOMSemanticBox.cs
- ProcessInputEventArgs.cs
- ListViewGroupCollectionEditor.cs
- ReferencedCategoriesDocument.cs
- CompensatableTransactionScopeActivityDesigner.cs
- SingleAnimationBase.cs
- DbCommandDefinition.cs
- XmlStreamStore.cs
- EntityPropertyMappingAttribute.cs
- Timer.cs
- ConditionalAttribute.cs
- M3DUtil.cs
- DateTimeHelper.cs
- ApplicationCommands.cs
- ToolboxSnapDragDropEventArgs.cs
- ReadOnlyTernaryTree.cs
- OletxTransactionHeader.cs
- RenderTargetBitmap.cs
- SimpleTextLine.cs
- XmlIlGenerator.cs
- CaseInsensitiveComparer.cs
- UnaryNode.cs
- ReadWriteObjectLock.cs
- AutomationPatternInfo.cs
- RemoteWebConfigurationHostServer.cs
- DynamicObjectAccessor.cs
- DESCryptoServiceProvider.cs
- LambdaCompiler.Address.cs
- XmlDataSourceNodeDescriptor.cs
- Span.cs
- TypeUsageBuilder.cs
- SQLResource.cs
- IPAddress.cs
- TextMetrics.cs
- ComAdminInterfaces.cs
- ConstraintManager.cs
- SchemaConstraints.cs
- BooleanToVisibilityConverter.cs
- WebPartConnectionsConfigureVerb.cs
- SinglePageViewer.cs
- InstancePersistence.cs
- TypedTableBaseExtensions.cs
- BooleanSwitch.cs
- DecodeHelper.cs
- ParserStreamGeometryContext.cs
- TextRangeProviderWrapper.cs
- FieldMetadata.cs
- ExpressionBinding.cs
- Accessible.cs
- XmlIlTypeHelper.cs
- EnvironmentPermission.cs
- SR.cs
- _CommandStream.cs
- Stylesheet.cs
- MarginCollapsingState.cs
- FindCriteria.cs
- DataGridViewCellEventArgs.cs
- SplashScreen.cs
- ItemsChangedEventArgs.cs
- ADRoleFactoryConfiguration.cs
- BitmapDecoder.cs
- MetabaseReader.cs
- EventRoute.cs
- EncryptedKeyIdentifierClause.cs
- DataGridViewRowPostPaintEventArgs.cs
- TableRowsCollectionEditor.cs
- TableLayoutColumnStyleCollection.cs
- ContextStaticAttribute.cs
- GenericIdentity.cs
- AssociationEndMember.cs
- SafeRightsManagementSessionHandle.cs
- NativeMethods.cs
- GAC.cs
- ImportCatalogPart.cs
- EnglishPluralizationService.cs
- GridItemCollection.cs
- LocalBuilder.cs
- XhtmlConformanceSection.cs
- DataGridTable.cs
- ToolStripItemEventArgs.cs
- LinkLabelLinkClickedEvent.cs
- TextTrailingWordEllipsis.cs
- UserMapPath.cs
- ScriptResourceAttribute.cs
- SimpleHandlerFactory.cs
- ScriptingScriptResourceHandlerSection.cs
- BitmapPalette.cs
- SqlRowUpdatedEvent.cs
- XsltInput.cs
- MessageEncodingBindingElement.cs
- MultipleViewPattern.cs
- ThreadAttributes.cs