Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Sys / 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
- ParamArrayAttribute.cs
- XmlSchemaType.cs
- WebColorConverter.cs
- CookieParameter.cs
- ADRoleFactory.cs
- XmlAtomicValue.cs
- EventWaitHandleSecurity.cs
- TypeUsageBuilder.cs
- WS2007HttpBinding.cs
- LowerCaseStringConverter.cs
- Vector3DCollection.cs
- NetworkAddressChange.cs
- mediapermission.cs
- DBSqlParserTable.cs
- URI.cs
- IndexOutOfRangeException.cs
- LineServices.cs
- Itemizer.cs
- FlowDocumentPaginator.cs
- BitArray.cs
- GatewayIPAddressInformationCollection.cs
- TextRunProperties.cs
- DateTimeAutomationPeer.cs
- CodeTypeDeclarationCollection.cs
- ExpressionNode.cs
- ProjectionPruner.cs
- WebUtil.cs
- Attributes.cs
- TransportContext.cs
- HttpCapabilitiesSectionHandler.cs
- SynthesizerStateChangedEventArgs.cs
- ManifestResourceInfo.cs
- SafeNativeMethods.cs
- SignerInfo.cs
- WSSecurityTokenSerializer.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- PaperSource.cs
- ResourceDisplayNameAttribute.cs
- BitmapEffectDrawingContextState.cs
- Matrix.cs
- ChunkedMemoryStream.cs
- ObjectMaterializedEventArgs.cs
- GridViewColumnCollectionChangedEventArgs.cs
- TaskHelper.cs
- Types.cs
- SByteStorage.cs
- PropertyTabAttribute.cs
- QueueProcessor.cs
- TraversalRequest.cs
- DSASignatureDeformatter.cs
- Stack.cs
- Component.cs
- LocalTransaction.cs
- OutputScopeManager.cs
- DateTimeConverter2.cs
- CrossSiteScriptingValidation.cs
- SystemIPGlobalStatistics.cs
- PageTrueTypeFont.cs
- DeviceContexts.cs
- ToolboxBitmapAttribute.cs
- FileChangesMonitor.cs
- UInt16Converter.cs
- ButtonChrome.cs
- XsdDataContractExporter.cs
- WmlPanelAdapter.cs
- printdlgexmarshaler.cs
- JoinCqlBlock.cs
- SystemFonts.cs
- UiaCoreTypesApi.cs
- AppSettingsExpressionBuilder.cs
- newinstructionaction.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- SoapSchemaExporter.cs
- AuthenticatedStream.cs
- BadImageFormatException.cs
- ConfigsHelper.cs
- AuthStoreRoleProvider.cs
- HeaderPanel.cs
- FormsAuthenticationCredentials.cs
- RtfToken.cs
- MetadataCollection.cs
- Int16Animation.cs
- Converter.cs
- SqlProfileProvider.cs
- SqlTriggerAttribute.cs
- WorkflowQueueInfo.cs
- DataTableExtensions.cs
- LingerOption.cs
- QueryAccessibilityHelpEvent.cs
- CodeGotoStatement.cs
- PolyQuadraticBezierSegment.cs
- Choices.cs
- BitmapEffectInput.cs
- RegisteredExpandoAttribute.cs
- AssociationProvider.cs
- GeometryDrawing.cs
- CursorConverter.cs
- XsdBuildProvider.cs
- UnsafeNativeMethods.cs
- ExpandCollapseProviderWrapper.cs