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 / ConfigXmlText.cs / 1 / ConfigXmlText.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 ConfigXmlText : XmlText, IConfigErrorInfo { int _line; string _filename; public ConfigXmlText( string filename, int line, string strData, XmlDocument doc ) : base( strData, 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); ConfigXmlText clone = cloneNode as ConfigXmlText; 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 ConfigXmlText : XmlText, IConfigErrorInfo { int _line; string _filename; public ConfigXmlText( string filename, int line, string strData, XmlDocument doc ) : base( strData, 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); ConfigXmlText clone = cloneNode as ConfigXmlText; 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
- HitTestFilterBehavior.cs
- UnaryExpressionHelper.cs
- WebPartConnectionsDisconnectVerb.cs
- XmlUrlResolver.cs
- CaseKeyBox.xaml.cs
- XmlTextWriter.cs
- XmlSchemaInclude.cs
- ObjectDataSourceMethodEventArgs.cs
- Keyboard.cs
- followingquery.cs
- WithStatement.cs
- AppDomain.cs
- DataGridViewLayoutData.cs
- XmlDataSourceNodeDescriptor.cs
- SqlCacheDependencyDatabaseCollection.cs
- GridViewSortEventArgs.cs
- ByteAnimationUsingKeyFrames.cs
- TemplateBamlTreeBuilder.cs
- ServiceHttpModule.cs
- RequestChannel.cs
- WebPermission.cs
- httpserverutility.cs
- IISMapPath.cs
- TrackingProfileDeserializationException.cs
- SafeMemoryMappedFileHandle.cs
- CellIdBoolean.cs
- IteratorAsyncResult.cs
- XsltConvert.cs
- FixUpCollection.cs
- ButtonAutomationPeer.cs
- RequestCacheValidator.cs
- Tokenizer.cs
- ConsumerConnectionPointCollection.cs
- DataServiceConfiguration.cs
- GeneralTransform.cs
- XomlCompiler.cs
- SimpleType.cs
- SimpleMailWebEventProvider.cs
- RoleGroup.cs
- ListViewSortEventArgs.cs
- CodeTypeReference.cs
- LineBreakRecord.cs
- CheckBox.cs
- HMACSHA256.cs
- HtmlLink.cs
- ColumnHeaderConverter.cs
- HandlerFactoryWrapper.cs
- InputBuffer.cs
- MouseButtonEventArgs.cs
- UInt32.cs
- TextFormatter.cs
- WorkflowRuntimeBehavior.cs
- XmlNamespaceManager.cs
- CombinedGeometry.cs
- CodeParameterDeclarationExpression.cs
- ColumnReorderedEventArgs.cs
- StorageComplexTypeMapping.cs
- PointConverter.cs
- ReadOnlyNameValueCollection.cs
- DataViewManager.cs
- ChangeConflicts.cs
- ObjectDataSourceEventArgs.cs
- Timeline.cs
- ResourceDictionary.cs
- XpsPartBase.cs
- PassportPrincipal.cs
- SHA384.cs
- LayoutTableCell.cs
- ComplexTypeEmitter.cs
- PropertyRef.cs
- QilName.cs
- WebPartHeaderCloseVerb.cs
- TextBoxAutomationPeer.cs
- ConfigurationException.cs
- EncryptedKey.cs
- _Connection.cs
- FlowDocument.cs
- UnknownWrapper.cs
- ConfigXmlComment.cs
- UseLicense.cs
- OlePropertyStructs.cs
- SqlDataSourceCustomCommandEditor.cs
- ProcessHostConfigUtils.cs
- LockCookie.cs
- FixedTextPointer.cs
- EllipseGeometry.cs
- CustomExpression.cs
- BuilderPropertyEntry.cs
- CookieParameter.cs
- WindowsContainer.cs
- StylusCollection.cs
- ScriptHandlerFactory.cs
- HeaderCollection.cs
- XXXInfos.cs
- SafeProcessHandle.cs
- ConfigurationValue.cs
- Mappings.cs
- AspProxy.cs
- DataColumnChangeEvent.cs
- webproxy.cs