Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / ConfigXmlCDataSection.cs / 1305376 / ConfigXmlCDataSection.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 ConfigXmlCDataSection : XmlCDataSection, IConfigErrorInfo { int _line; string _filename; public ConfigXmlCDataSection( string filename, int line, string data, XmlDocument doc ) : base( data, 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); ConfigXmlCDataSection clone = cloneNode as ConfigXmlCDataSection; 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 ConfigXmlCDataSection : XmlCDataSection, IConfigErrorInfo { int _line; string _filename; public ConfigXmlCDataSection( string filename, int line, string data, XmlDocument doc ) : base( data, 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); ConfigXmlCDataSection clone = cloneNode as ConfigXmlCDataSection; 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
- PathFigure.cs
- ListCardsInFileRequest.cs
- AnnotationService.cs
- WindowsStartMenu.cs
- DesignerCapabilities.cs
- UserInitiatedNavigationPermission.cs
- File.cs
- QueryableFilterRepeater.cs
- CapabilitiesUse.cs
- DocumentApplicationJournalEntry.cs
- ScalarType.cs
- IsolatedStorage.cs
- DataServiceHostFactory.cs
- HopperCache.cs
- OpenTypeCommon.cs
- MarshalByValueComponent.cs
- ScrollPattern.cs
- WorkflowRuntimeService.cs
- RequestSecurityTokenResponse.cs
- TrackingMemoryStream.cs
- BackStopAuthenticationModule.cs
- dbenumerator.cs
- TextAutomationPeer.cs
- FileLevelControlBuilderAttribute.cs
- RecognizedPhrase.cs
- MimePart.cs
- ArrayTypeMismatchException.cs
- HwndKeyboardInputProvider.cs
- CompilerWrapper.cs
- HighlightVisual.cs
- DesignerPerfEventProvider.cs
- DataSourceSelectArguments.cs
- Typography.cs
- NonParentingControl.cs
- PageAsyncTask.cs
- ConnectionOrientedTransportManager.cs
- XmlSchemaParticle.cs
- DesignTimeTemplateParser.cs
- EntitySqlQueryCacheKey.cs
- NumericUpDownAcceleration.cs
- HttpResponseInternalWrapper.cs
- WebPartDisplayModeEventArgs.cs
- SelectionUIService.cs
- WebRequestModulesSection.cs
- XmlQuerySequence.cs
- ClientOptions.cs
- GroupDescription.cs
- Bookmark.cs
- SafeProcessHandle.cs
- ObjectViewQueryResultData.cs
- Rotation3DAnimationUsingKeyFrames.cs
- PrincipalPermission.cs
- ColorPalette.cs
- OverflowException.cs
- ImageAttributes.cs
- InArgumentConverter.cs
- WebControlAdapter.cs
- RootBuilder.cs
- ObjectResult.cs
- ProxyHwnd.cs
- EventProxy.cs
- CreateUserErrorEventArgs.cs
- Parameter.cs
- ResourceDictionary.cs
- WebControlsSection.cs
- BatchWriter.cs
- DelegateOutArgument.cs
- PaintValueEventArgs.cs
- ToolStripSplitButton.cs
- EntityDataSourceContextDisposingEventArgs.cs
- DataGridViewLayoutData.cs
- CaseInsensitiveComparer.cs
- CodeDomLocalizationProvider.cs
- SettingsPropertyValueCollection.cs
- ConnectionPoint.cs
- ModuleConfigurationInfo.cs
- BitmapFrame.cs
- StringExpressionSet.cs
- BamlLocalizableResourceKey.cs
- Size3DConverter.cs
- StylusEventArgs.cs
- KeySplineConverter.cs
- Message.cs
- MetadataCache.cs
- MexHttpsBindingElement.cs
- WebUtil.cs
- ModuleConfigurationInfo.cs
- AppDomainFactory.cs
- InvariantComparer.cs
- ColumnBinding.cs
- RtfToXamlLexer.cs
- DataControlLinkButton.cs
- HMACSHA384.cs
- CoreSwitches.cs
- UnaryOperationBinder.cs
- Events.cs
- ProxyHwnd.cs
- SystemTcpStatistics.cs
- KeyConstraint.cs
- SystemBrushes.cs