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
- Tuple.cs
- XmlUnspecifiedAttribute.cs
- SchemaConstraints.cs
- LicFileLicenseProvider.cs
- GeneralTransform3DGroup.cs
- ReturnValue.cs
- QueryCacheEntry.cs
- SqlFacetAttribute.cs
- GlyphRunDrawing.cs
- regiisutil.cs
- ModelTypeConverter.cs
- XPathQilFactory.cs
- HtmlInputImage.cs
- DataTemplateKey.cs
- StructuralObject.cs
- StringPropertyBuilder.cs
- KnownTypeAttribute.cs
- Section.cs
- SchemaCompiler.cs
- TreeNode.cs
- SID.cs
- KeyValueSerializer.cs
- CollectionContainer.cs
- CryptoProvider.cs
- Int32Storage.cs
- UnsafeNativeMethodsTablet.cs
- TextDpi.cs
- BuilderInfo.cs
- ScriptControl.cs
- lengthconverter.cs
- Process.cs
- DirectoryInfo.cs
- DataBoundControlParameterTarget.cs
- TypeContext.cs
- HttpException.cs
- LabelLiteral.cs
- BaseDataListComponentEditor.cs
- TypeLibConverter.cs
- Error.cs
- ScrollChangedEventArgs.cs
- PenContexts.cs
- CommandField.cs
- TcpTransportElement.cs
- TableLayoutPanelBehavior.cs
- ProfilePropertySettingsCollection.cs
- DynamicQueryableWrapper.cs
- TypeNameConverter.cs
- EndpointAddressAugust2004.cs
- SystemColorTracker.cs
- DataPointer.cs
- JsonMessageEncoderFactory.cs
- XmlILAnnotation.cs
- AnimationStorage.cs
- RoleService.cs
- LicenseManager.cs
- BindingNavigator.cs
- AxisAngleRotation3D.cs
- AutomationPropertyChangedEventArgs.cs
- RoleGroupCollection.cs
- Int32EqualityComparer.cs
- WindowsGraphics2.cs
- Types.cs
- RSAOAEPKeyExchangeFormatter.cs
- XmlIterators.cs
- OperatorExpressions.cs
- DataTemplateKey.cs
- DataSourceView.cs
- WebBrowsableAttribute.cs
- BCLDebug.cs
- DirectoryInfo.cs
- While.cs
- SynchronizedInputAdaptor.cs
- Vector3DValueSerializer.cs
- Validator.cs
- Point3DIndependentAnimationStorage.cs
- WindowsGraphicsCacheManager.cs
- cache.cs
- Win32Exception.cs
- Hyperlink.cs
- WindowsPrincipal.cs
- TabPage.cs
- DependencyObjectPropertyDescriptor.cs
- IconConverter.cs
- InteropTrackingRecord.cs
- XpsS0ValidatingLoader.cs
- BuildResult.cs
- XmlSchemaSet.cs
- TableLayoutRowStyleCollection.cs
- COM2ICategorizePropertiesHandler.cs
- TimeoutTimer.cs
- TreeNodeCollectionEditor.cs
- Type.cs
- XmlWellformedWriter.cs
- UriTemplatePathSegment.cs
- ContentElement.cs
- PropertyChange.cs
- ReadOnlyTernaryTree.cs
- WizardPanel.cs
- DefaultHttpHandler.cs
- TypeForwardedToAttribute.cs