Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ConfigurationLoaderException.cs
- FlowDecisionLabelFeature.cs
- CaseInsensitiveComparer.cs
- TraceRecord.cs
- StrongTypingException.cs
- TableCell.cs
- EpmSyndicationContentSerializer.cs
- UIElementIsland.cs
- ASCIIEncoding.cs
- webproxy.cs
- SubMenuStyleCollection.cs
- ReferencedAssembly.cs
- MdbDataFileEditor.cs
- CodeCastExpression.cs
- CommunicationObjectManager.cs
- EventMappingSettings.cs
- IPGlobalProperties.cs
- BooleanConverter.cs
- SettingsAttributeDictionary.cs
- LocalizedNameDescriptionPair.cs
- CfgParser.cs
- StreamingContext.cs
- SchemaImporterExtensionElementCollection.cs
- LocalizableAttribute.cs
- BlockUIContainer.cs
- _LoggingObject.cs
- CollectionViewGroupRoot.cs
- RecordManager.cs
- BaseCodePageEncoding.cs
- MulticastOption.cs
- X509SubjectKeyIdentifierClause.cs
- SignatureDescription.cs
- SignedXmlDebugLog.cs
- TextServicesHost.cs
- ResXDataNode.cs
- PageAsyncTaskManager.cs
- HtmlEmptyTagControlBuilder.cs
- BlockingCollection.cs
- XPathScanner.cs
- Hash.cs
- FormatVersion.cs
- ConstNode.cs
- NativeWrapper.cs
- XXXOnTypeBuilderInstantiation.cs
- PathFigure.cs
- ScrollChangedEventArgs.cs
- RunClient.cs
- PrintDialog.cs
- SerializationAttributes.cs
- ArrayElementGridEntry.cs
- PageCatalogPart.cs
- DataKey.cs
- ZoneLinkButton.cs
- IisTraceWebEventProvider.cs
- UserPreferenceChangedEventArgs.cs
- EnumerableValidator.cs
- PointHitTestParameters.cs
- ParameterCollection.cs
- CornerRadiusConverter.cs
- XmlConvert.cs
- PopupRootAutomationPeer.cs
- xamlnodes.cs
- SafeHandles.cs
- HostedNamedPipeTransportManager.cs
- AsyncSerializedWorker.cs
- ToolStripTextBox.cs
- XPathMultyIterator.cs
- ObjectListItem.cs
- DbTypeMap.cs
- TransactionProtocolConverter.cs
- FormViewUpdatedEventArgs.cs
- TextPointer.cs
- CounterCreationDataCollection.cs
- EventLogger.cs
- ExpressionPrinter.cs
- XmlSchemaAnnotated.cs
- Trace.cs
- ObjectStateManager.cs
- ValidationSummary.cs
- Scalars.cs
- DesignerActionPropertyItem.cs
- StructuralObject.cs
- QueuedDeliveryRequirementsMode.cs
- UserControlCodeDomTreeGenerator.cs
- EventLogEntryCollection.cs
- UInt32Storage.cs
- ThrowHelper.cs
- DefaultAssemblyResolver.cs
- IERequestCache.cs
- CompilationAssemblyInstallComponent.cs
- StorageEntityTypeMapping.cs
- ThreadExceptionEvent.cs
- SimpleBitVector32.cs
- ParagraphResult.cs
- Publisher.cs
- ButtonField.cs
- FontEmbeddingManager.cs
- XmlEncodedRawTextWriter.cs
- RemoteCryptoDecryptRequest.cs
- BevelBitmapEffect.cs