Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / System / Configuration / ConfigXmlCDataSection.cs / 1305376 / 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
- SmiMetaData.cs
- JsonEncodingStreamWrapper.cs
- XmlProcessingInstruction.cs
- IncrementalReadDecoders.cs
- WorkflowServiceHostFactory.cs
- NetSectionGroup.cs
- MediaPlayer.cs
- TextSpan.cs
- DocumentGridPage.cs
- WebPartConnectionsCloseVerb.cs
- ClientUtils.cs
- XmlBindingWorker.cs
- VerifyHashRequest.cs
- CfgParser.cs
- ComplexObject.cs
- TypedElement.cs
- ToolStripOverflow.cs
- EntityDataSourceEntityTypeFilterItem.cs
- HttpCapabilitiesBase.cs
- DataSysAttribute.cs
- SizeAnimation.cs
- PreviewKeyDownEventArgs.cs
- SoapBinding.cs
- HtmlSelect.cs
- XamlPoint3DCollectionSerializer.cs
- XPathItem.cs
- MeshGeometry3D.cs
- ActivityExecutorDelegateInfo.cs
- TdsParserHelperClasses.cs
- DataBindingExpressionBuilder.cs
- CompressionTransform.cs
- DbConnectionPool.cs
- XmlSchemaAppInfo.cs
- PairComparer.cs
- LoginName.cs
- ExtentCqlBlock.cs
- ArcSegment.cs
- RangeValidator.cs
- CollectionChangedEventManager.cs
- SqlFormatter.cs
- SimpleRecyclingCache.cs
- SqlFileStream.cs
- EventWaitHandleSecurity.cs
- ParallelEnumerable.cs
- Polygon.cs
- IDispatchConstantAttribute.cs
- BrowserCapabilitiesCodeGenerator.cs
- CompModSwitches.cs
- AssemblyBuilder.cs
- SchemaElementLookUpTable.cs
- TreeSet.cs
- ObjectPersistData.cs
- XmlWellformedWriter.cs
- RelationshipEndCollection.cs
- CustomErrorCollection.cs
- objectquery_tresulttype.cs
- CompilerResults.cs
- SmiMetaData.cs
- PropertyChangedEventArgs.cs
- InternalBase.cs
- InvalidCommandTreeException.cs
- DeploymentSection.cs
- Literal.cs
- DependencyPropertyHelper.cs
- ImageMapEventArgs.cs
- SecurityTokenResolver.cs
- ObfuscateAssemblyAttribute.cs
- TypeExtensionConverter.cs
- FlowNode.cs
- DateTimeParse.cs
- StylusButton.cs
- Utils.cs
- WebPartDescription.cs
- LayoutEvent.cs
- Header.cs
- PointF.cs
- ContentControl.cs
- ModelItemCollectionImpl.cs
- CodeMethodInvokeExpression.cs
- _FtpControlStream.cs
- SerializationException.cs
- DataViewManagerListItemTypeDescriptor.cs
- QualifierSet.cs
- EventSinkHelperWriter.cs
- SqlWebEventProvider.cs
- _OverlappedAsyncResult.cs
- EntityDesignerDataSourceView.cs
- PrefixHandle.cs
- SqlTypesSchemaImporter.cs
- WebPartsPersonalizationAuthorization.cs
- ImagingCache.cs
- InstanceDescriptor.cs
- ConfigPathUtility.cs
- ProgressBarHighlightConverter.cs
- ConfigurationPropertyAttribute.cs
- UIPropertyMetadata.cs
- MenuItemCollection.cs
- WebPartDescriptionCollection.cs
- RbTree.cs
- XpsS0ValidatingLoader.cs