Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Configuration / 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
- ControlDesignerState.cs
- TemplateManager.cs
- ActivityXRefConverter.cs
- BulletChrome.cs
- DocumentSchemaValidator.cs
- HtmlFormAdapter.cs
- PatternMatcher.cs
- PropertyFilterAttribute.cs
- SystemColors.cs
- ScrollData.cs
- CounterCreationData.cs
- RankException.cs
- ApplicationGesture.cs
- DataViewListener.cs
- DesigntimeLicenseContext.cs
- BaseDataBoundControl.cs
- BreadCrumbTextConverter.cs
- IpcChannelHelper.cs
- BitmapEffectGeneralTransform.cs
- RegistrySecurity.cs
- SHA384Managed.cs
- XsltInput.cs
- ThousandthOfEmRealDoubles.cs
- PrefixQName.cs
- Transaction.cs
- EventSinkHelperWriter.cs
- ChannelToken.cs
- OptimalTextSource.cs
- ProxyWebPartConnectionCollection.cs
- StylusPointCollection.cs
- AggregationMinMaxHelpers.cs
- Polygon.cs
- MultiTargetingUtil.cs
- SafeCertificateContext.cs
- SystemTcpConnection.cs
- WebPartDescriptionCollection.cs
- AutomationAttributeInfo.cs
- SqlProfileProvider.cs
- LineServices.cs
- SerialErrors.cs
- HttpPostLocalhostServerProtocol.cs
- InkPresenterAutomationPeer.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- DBConcurrencyException.cs
- ValidationException.cs
- OleDbWrapper.cs
- MetadataCache.cs
- NameObjectCollectionBase.cs
- XmlEncodedRawTextWriter.cs
- CompilerParameters.cs
- UrlPath.cs
- ItemCheckEvent.cs
- OptimalBreakSession.cs
- DictionaryKeyPropertyAttribute.cs
- ImpersonateTokenRef.cs
- DataGridViewColumnCollection.cs
- Literal.cs
- TransactionFilter.cs
- StackSpiller.Generated.cs
- BreakRecordTable.cs
- RawStylusInputReport.cs
- List.cs
- ValidationErrorEventArgs.cs
- UniqueID.cs
- UrlPropertyAttribute.cs
- OverlappedAsyncResult.cs
- OleCmdHelper.cs
- SqlUtils.cs
- Double.cs
- TypeConverterAttribute.cs
- CurrentChangingEventArgs.cs
- HttpListenerResponse.cs
- ContextMenu.cs
- RemotingException.cs
- ResourceAttributes.cs
- ErrorHandlerFaultInfo.cs
- DirectionalLight.cs
- IDQuery.cs
- DbTransaction.cs
- ServiceManager.cs
- WorkflowRuntime.cs
- DefaultTraceListener.cs
- ClientConvert.cs
- TimeoutTimer.cs
- ServiceChannelManager.cs
- SmiEventSink_DeferedProcessing.cs
- TreeNodeMouseHoverEvent.cs
- SelectedGridItemChangedEvent.cs
- AtomicFile.cs
- XmlHelper.cs
- OlePropertyStructs.cs
- FontFamily.cs
- WindowAutomationPeer.cs
- TemplateLookupAction.cs
- Pair.cs
- ListMarkerLine.cs
- ButtonBase.cs
- CriticalHandle.cs
- Panel.cs
- GatewayDefinition.cs