Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Configuration / System / Configuration / ConfigXmlCDataSection.cs / 1 / 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
- DataGridViewUtilities.cs
- RSAOAEPKeyExchangeFormatter.cs
- ComponentRenameEvent.cs
- HttpDebugHandler.cs
- ByteRangeDownloader.cs
- XmlSchemaCompilationSettings.cs
- AttachedPropertyMethodSelector.cs
- ExpressionBuilder.cs
- JournalEntryStack.cs
- ResourceAttributes.cs
- LinkUtilities.cs
- MenuItemStyle.cs
- Tag.cs
- Error.cs
- BamlStream.cs
- DateTimeOffsetStorage.cs
- TimelineCollection.cs
- GAC.cs
- DrawingGroup.cs
- Size.cs
- EmissiveMaterial.cs
- ProgressChangedEventArgs.cs
- XmlCodeExporter.cs
- XmlElementAttributes.cs
- Dictionary.cs
- PageRequestManager.cs
- XmlSchemaComplexType.cs
- DbConnectionFactory.cs
- DataException.cs
- EntityDataSourceValidationException.cs
- precedingquery.cs
- Sequence.cs
- CatalogPart.cs
- AdvancedBindingEditor.cs
- FixedHighlight.cs
- SqlCharStream.cs
- ResolveResponseInfo.cs
- QilFactory.cs
- PathData.cs
- Size.cs
- WebPartAuthorizationEventArgs.cs
- _AuthenticationState.cs
- SafeNativeMethods.cs
- BasicSecurityProfileVersion.cs
- ProtocolsConfiguration.cs
- ConfigurationValue.cs
- OdbcDataReader.cs
- DataRowView.cs
- DataProtection.cs
- RelatedView.cs
- XNodeNavigator.cs
- IItemProperties.cs
- Relationship.cs
- ImageMap.cs
- KeyManager.cs
- SecurityProtocolFactory.cs
- ErrorStyle.cs
- DirectoryNotFoundException.cs
- SingleResultAttribute.cs
- SelfIssuedSamlTokenFactory.cs
- MultiViewDesigner.cs
- ProviderConnectionPointCollection.cs
- Guid.cs
- IChannel.cs
- WebControl.cs
- Expression.cs
- ValuePattern.cs
- WebPartMovingEventArgs.cs
- XPathNode.cs
- ReadOnlyAttribute.cs
- CachingHintValidation.cs
- SafeEventLogWriteHandle.cs
- DataGridColumn.cs
- PasswordDeriveBytes.cs
- CachedTypeface.cs
- FlowDecisionLabelFeature.cs
- DependencySource.cs
- ChoiceConverter.cs
- PanelStyle.cs
- ComboBox.cs
- BufferBuilder.cs
- PrimitiveXmlSerializers.cs
- MsmqInputMessagePool.cs
- WebPartHelpVerb.cs
- ProbeDuplexCD1AsyncResult.cs
- FlowDocumentPage.cs
- BounceEase.cs
- PageParserFilter.cs
- PrincipalPermission.cs
- GetWinFXPath.cs
- DuplicateMessageDetector.cs
- SqlTriggerAttribute.cs
- METAHEADER.cs
- TypeDependencyAttribute.cs
- Quaternion.cs
- RemotingService.cs
- ComplexBindingPropertiesAttribute.cs
- ControlIdConverter.cs
- InvalidAsynchronousStateException.cs
- CalendarDataBindingHandler.cs