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
- XmlDocumentSchema.cs
- ObjectViewEntityCollectionData.cs
- SQLMoney.cs
- XmlUTF8TextReader.cs
- StateDesigner.TransitionInfo.cs
- HtmlPhoneCallAdapter.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- WebPartHelpVerb.cs
- SQLGuidStorage.cs
- BuildTopDownAttribute.cs
- RightsManagementEncryptionTransform.cs
- BindingValueChangedEventArgs.cs
- Membership.cs
- SqlUtils.cs
- HitTestDrawingContextWalker.cs
- QilIterator.cs
- EnumValAlphaComparer.cs
- TextTreeRootNode.cs
- NativeObjectSecurity.cs
- GenericUriParser.cs
- DataGridViewTextBoxCell.cs
- XmlSchemaSimpleContentExtension.cs
- FrameworkElement.cs
- ReadOnlyAttribute.cs
- TextPenaltyModule.cs
- StyleXamlTreeBuilder.cs
- FileSystemEventArgs.cs
- GestureRecognitionResult.cs
- AssemblyAttributes.cs
- MenuCommand.cs
- HelloOperationCD1AsyncResult.cs
- ResourceProviderFactory.cs
- EnumerableCollectionView.cs
- ListViewSortEventArgs.cs
- DocumentScope.cs
- ResourceDescriptionAttribute.cs
- TextRunProperties.cs
- LayoutDump.cs
- SafeRegistryHandle.cs
- InteropBitmapSource.cs
- DocumentPageHost.cs
- DataControlFieldsEditor.cs
- Errors.cs
- StdValidatorsAndConverters.cs
- OracleParameterCollection.cs
- ApplicationContext.cs
- DataGridViewComboBoxEditingControl.cs
- BooleanConverter.cs
- JumpTask.cs
- Roles.cs
- RuntimeHelpers.cs
- HeaderedContentControl.cs
- LocalValueEnumerator.cs
- TrustSection.cs
- ReadOnlyKeyedCollection.cs
- ScrollItemPattern.cs
- MenuAutomationPeer.cs
- WebPartRestoreVerb.cs
- TypeElement.cs
- DocumentSequence.cs
- DataSourceSelectArguments.cs
- PixelShader.cs
- ToolStripItem.cs
- GetTokenRequest.cs
- RelatedCurrencyManager.cs
- Compiler.cs
- SecUtil.cs
- FileDialog.cs
- DrawingImage.cs
- FormsAuthenticationTicket.cs
- SortedDictionary.cs
- SqlUnionizer.cs
- XmlSchemaSimpleTypeList.cs
- ReflectEventDescriptor.cs
- SqlMethods.cs
- ListView.cs
- BufferedReadStream.cs
- StrongNameKeyPair.cs
- EraserBehavior.cs
- HttpDebugHandler.cs
- FillErrorEventArgs.cs
- LineUtil.cs
- EventsTab.cs
- FontUnit.cs
- linebase.cs
- FixedDocumentPaginator.cs
- DbQueryCommandTree.cs
- BufferBuilder.cs
- SqlNodeAnnotations.cs
- Int64.cs
- EdmToObjectNamespaceMap.cs
- LoginView.cs
- InstanceValue.cs
- AsyncOperationContext.cs
- ContextMenuAutomationPeer.cs
- DocComment.cs
- XmlNullResolver.cs
- SqlComparer.cs
- XamlPathDataSerializer.cs
- WhitespaceRuleReader.cs