Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- InputMethodStateChangeEventArgs.cs
- ClientSettings.cs
- CompositeActivityCodeGenerator.cs
- ItemChangedEventArgs.cs
- WebControl.cs
- ConditionBrowserDialog.cs
- DBDataPermissionAttribute.cs
- PeerCollaboration.cs
- CaseStatementProjectedSlot.cs
- DropDownList.cs
- AvTraceFormat.cs
- TemplateControlParser.cs
- SettingsSavedEventArgs.cs
- TextAdaptor.cs
- PostBackTrigger.cs
- TextEditorLists.cs
- RangeValueProviderWrapper.cs
- DeclarativeCatalogPartDesigner.cs
- ProfilePropertyNameValidator.cs
- ApplicationDirectoryMembershipCondition.cs
- DockProviderWrapper.cs
- DataGridViewRowsRemovedEventArgs.cs
- AxHostDesigner.cs
- PKCS1MaskGenerationMethod.cs
- ScriptComponentDescriptor.cs
- QueryCursorEventArgs.cs
- DbConnectionClosed.cs
- ActiveXHost.cs
- LoginNameDesigner.cs
- EnumCodeDomSerializer.cs
- RootNamespaceAttribute.cs
- UncommonField.cs
- ObsoleteAttribute.cs
- GPRECTF.cs
- _UriTypeConverter.cs
- ZipIOLocalFileBlock.cs
- FileCodeGroup.cs
- MailMessageEventArgs.cs
- RootBrowserWindowAutomationPeer.cs
- CriticalHandle.cs
- ScrollProperties.cs
- ToolboxComponentsCreatedEventArgs.cs
- DataRelationCollection.cs
- MailMessageEventArgs.cs
- glyphs.cs
- Currency.cs
- AppSettings.cs
- XmlAutoDetectWriter.cs
- RadioButton.cs
- RepeaterDataBoundAdapter.cs
- DataControlPagerLinkButton.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- BitmapCodecInfo.cs
- SimpleType.cs
- SatelliteContractVersionAttribute.cs
- WindowsListView.cs
- DataGridState.cs
- Registry.cs
- TextFormatterContext.cs
- PointAnimationUsingKeyFrames.cs
- Validator.cs
- OracleBFile.cs
- IdentityManager.cs
- KeyFrames.cs
- BasicViewGenerator.cs
- SqlTriggerContext.cs
- BinaryUtilClasses.cs
- BaseTemplateCodeDomTreeGenerator.cs
- TrustLevel.cs
- DeclarativeCatalogPart.cs
- ApplicationContext.cs
- HttpCapabilitiesSectionHandler.cs
- ComEventsHelper.cs
- SetStoryboardSpeedRatio.cs
- ExpressionDumper.cs
- StoreItemCollection.Loader.cs
- peernodestatemanager.cs
- HtmlGenericControl.cs
- DrawingVisual.cs
- FilteredDataSetHelper.cs
- ToolStripStatusLabel.cs
- TransformerTypeCollection.cs
- ScalarConstant.cs
- LocalValueEnumerator.cs
- HttpCapabilitiesBase.cs
- XamlStream.cs
- CaseInsensitiveComparer.cs
- ConfigViewGenerator.cs
- PolicyLevel.cs
- PolyBezierSegment.cs
- GenericQueueSurrogate.cs
- ProfileProvider.cs
- MatrixCamera.cs
- FixedDSBuilder.cs
- PictureBoxDesigner.cs
- EventProperty.cs
- UriScheme.cs
- ByeMessageApril2005.cs
- ObjectDataSourceEventArgs.cs
- InheritanceService.cs