Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- Errors.cs
- XsltException.cs
- ExpressionParser.cs
- XmlImplementation.cs
- Codec.cs
- AssemblyResourceLoader.cs
- SimpleTextLine.cs
- MenuTracker.cs
- NativeWindow.cs
- ObjectStateManagerMetadata.cs
- KeyMatchBuilder.cs
- HttpVersion.cs
- ZoneButton.cs
- MonthChangedEventArgs.cs
- RequestStatusBarUpdateEventArgs.cs
- ListControlDataBindingHandler.cs
- DynamicActivityXamlReader.cs
- Encoder.cs
- CFGGrammar.cs
- LiteralTextContainerControlBuilder.cs
- FileLogRecord.cs
- FileVersion.cs
- BinaryFormatter.cs
- SystemWebCachingSectionGroup.cs
- SQLMoney.cs
- SessionEndingEventArgs.cs
- Version.cs
- ErrorFormatterPage.cs
- ListBoxItemWrapperAutomationPeer.cs
- securestring.cs
- Binding.cs
- GregorianCalendar.cs
- ADMembershipProvider.cs
- NegationPusher.cs
- FlowDocumentView.cs
- HttpListenerContext.cs
- _SslSessionsCache.cs
- MsdtcClusterUtils.cs
- LambdaSerializationException.cs
- RawStylusInputReport.cs
- BuildProviderAppliesToAttribute.cs
- DesignerAttributeInfo.cs
- CellPartitioner.cs
- SiteMapNodeItem.cs
- WpfXamlLoader.cs
- SessionStateContainer.cs
- EdmScalarPropertyAttribute.cs
- RadioButton.cs
- Message.cs
- KeyMatchBuilder.cs
- TextStore.cs
- SqlDataSourceAdvancedOptionsForm.cs
- CodeDefaultValueExpression.cs
- Parallel.cs
- ObjectRef.cs
- entityreference_tresulttype.cs
- TextSchema.cs
- GridViewPageEventArgs.cs
- BasicHttpMessageSecurityElement.cs
- PropertyItemInternal.cs
- ValidatorCompatibilityHelper.cs
- SimpleWebHandlerParser.cs
- TableLayout.cs
- WsatRegistrationHeader.cs
- ApplyTemplatesAction.cs
- NetworkInterface.cs
- WindowsNonControl.cs
- TemplateEditingVerb.cs
- NullableDoubleMinMaxAggregationOperator.cs
- CalendarItem.cs
- NaturalLanguageHyphenator.cs
- CompilerState.cs
- TextSearch.cs
- CollectionDataContract.cs
- QuaternionConverter.cs
- InternalPolicyElement.cs
- TreeBuilderXamlTranslator.cs
- DllNotFoundException.cs
- UpDownBase.cs
- DaylightTime.cs
- HotSpotCollection.cs
- AttachedAnnotationChangedEventArgs.cs
- MobileComponentEditorPage.cs
- ClassHandlersStore.cs
- userdatakeys.cs
- StringStorage.cs
- RegionIterator.cs
- COM2Properties.cs
- ColumnResizeUndoUnit.cs
- DataAdapter.cs
- ProgressBarAutomationPeer.cs
- WithParamAction.cs
- SupportingTokenSpecification.cs
- XmlSchemaElement.cs
- ContentAlignmentEditor.cs
- UnknownBitmapDecoder.cs
- ThreadAbortException.cs
- X509Certificate.cs
- OneWayElement.cs
- Int64Storage.cs