Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / 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
- Rect3DValueSerializer.cs
- TreeIterators.cs
- OutputChannelBinder.cs
- DrawingState.cs
- SafePipeHandle.cs
- Sequence.cs
- ServerProtocol.cs
- WebPartEventArgs.cs
- oledbconnectionstring.cs
- TextEndOfSegment.cs
- ResourceSetExpression.cs
- OutputCache.cs
- StringFreezingAttribute.cs
- StaticSiteMapProvider.cs
- BindingWorker.cs
- CodePageEncoding.cs
- WebSysDefaultValueAttribute.cs
- Image.cs
- SqlNamer.cs
- WebPartChrome.cs
- AvTrace.cs
- EdmSchemaAttribute.cs
- WindowsProgressbar.cs
- RtfControlWordInfo.cs
- SyntaxCheck.cs
- SetterBaseCollection.cs
- _NegoState.cs
- X509Utils.cs
- MaterialCollection.cs
- HttpContext.cs
- SizeAnimationClockResource.cs
- DataGridSortCommandEventArgs.cs
- ThreadAbortException.cs
- BinaryNode.cs
- DataTrigger.cs
- ElementFactory.cs
- RSACryptoServiceProvider.cs
- TrackBarRenderer.cs
- TypefaceCollection.cs
- AQNBuilder.cs
- NullRuntimeConfig.cs
- ActivationArguments.cs
- StringAttributeCollection.cs
- ScrollChrome.cs
- GreaterThanOrEqual.cs
- RoleService.cs
- TextUtf8RawTextWriter.cs
- ITextView.cs
- DataGridViewImageCell.cs
- TextureBrush.cs
- Int16Storage.cs
- StringUtil.cs
- BooleanFunctions.cs
- InstanceHandle.cs
- MaterializeFromAtom.cs
- WindowsUserNameCachingSecurityTokenAuthenticator.cs
- TransactionFilter.cs
- BoundsDrawingContextWalker.cs
- TypeConverterMarkupExtension.cs
- CodeTryCatchFinallyStatement.cs
- WebBrowserProgressChangedEventHandler.cs
- ScrollContentPresenter.cs
- PageSetupDialog.cs
- FontUnit.cs
- SafeLocalMemHandle.cs
- SmiRequestExecutor.cs
- AuthenticationModuleElement.cs
- MobileComponentEditorPage.cs
- SqlInternalConnectionSmi.cs
- DataPagerFieldCommandEventArgs.cs
- ProfileSettingsCollection.cs
- NullRuntimeConfig.cs
- CompModHelpers.cs
- IntegerValidatorAttribute.cs
- BuildProviderUtils.cs
- DesignerListAdapter.cs
- StretchValidation.cs
- SpellerStatusTable.cs
- WeakReferenceKey.cs
- wpf-etw.cs
- ElementUtil.cs
- XomlDesignerLoader.cs
- DataColumnChangeEvent.cs
- EnumConverter.cs
- ControlsConfig.cs
- WebResourceAttribute.cs
- MsmqUri.cs
- IPipelineRuntime.cs
- CompilerError.cs
- PropertyKey.cs
- BitmapEffectInput.cs
- CollectionType.cs
- Color.cs
- StringBuilder.cs
- XmlDocument.cs
- DataServiceEntityAttribute.cs
- InputLangChangeEvent.cs
- SemanticResultKey.cs
- SplitterCancelEvent.cs
- VerificationException.cs