Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- LogManagementAsyncResult.cs
- TableAdapterManagerNameHandler.cs
- CapabilitiesAssignment.cs
- DataGridTemplateColumn.cs
- NamespaceList.cs
- PanelStyle.cs
- EventSinkHelperWriter.cs
- DataGridItemCollection.cs
- ColorTransformHelper.cs
- HttpListenerResponse.cs
- ProfileServiceManager.cs
- Button.cs
- ElementsClipboardData.cs
- BinarySerializer.cs
- DateTimeSerializationSection.cs
- DynamicControlParameter.cs
- EmptyControlCollection.cs
- ValidatingPropertiesEventArgs.cs
- SystemTcpStatistics.cs
- Publisher.cs
- TransformBlockRequest.cs
- CodeDirectiveCollection.cs
- ClientConfigurationHost.cs
- Form.cs
- X509SubjectKeyIdentifierClause.cs
- Vector3DCollection.cs
- HttpServerVarsCollection.cs
- AsyncOperation.cs
- PartitionResolver.cs
- DoubleStorage.cs
- SchemaComplexType.cs
- SubqueryTrackingVisitor.cs
- FieldNameLookup.cs
- MessagePartProtectionMode.cs
- EventSinkHelperWriter.cs
- DataControlCommands.cs
- UnmanagedBitmapWrapper.cs
- ProtectedConfigurationSection.cs
- WorkflowOperationContext.cs
- WeakReferenceList.cs
- EntityContainerEntitySet.cs
- WindowsFormsHost.cs
- Attributes.cs
- ImmutableObjectAttribute.cs
- DataReceivedEventArgs.cs
- BuildProviderCollection.cs
- ObjectNavigationPropertyMapping.cs
- DataControlFieldHeaderCell.cs
- XsdDataContractImporter.cs
- LocalizationComments.cs
- XmlSchemaObjectCollection.cs
- XmlKeywords.cs
- RuleSettingsCollection.cs
- TableLayoutPanel.cs
- PointCollection.cs
- ManifestBasedResourceGroveler.cs
- DataConnectionHelper.cs
- SafeRightsManagementQueryHandle.cs
- UrlMappingCollection.cs
- SoundPlayerAction.cs
- SqlErrorCollection.cs
- AnnotationMap.cs
- Int64AnimationBase.cs
- TypedLocationWrapper.cs
- DataViewManager.cs
- WebConfigurationHostFileChange.cs
- OutputCacheSettingsSection.cs
- SqlComparer.cs
- MonitoringDescriptionAttribute.cs
- QuaternionRotation3D.cs
- log.cs
- DesignerActionPanel.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- Exception.cs
- TraceHandlerErrorFormatter.cs
- SimpleTypeResolver.cs
- IssuedTokensHeader.cs
- IncomingWebRequestContext.cs
- SqlProviderManifest.cs
- RSAOAEPKeyExchangeFormatter.cs
- IsolatedStorage.cs
- HyperLink.cs
- InputMethodStateTypeInfo.cs
- Line.cs
- SqlCommand.cs
- SiteOfOriginContainer.cs
- UInt32Converter.cs
- XmlMessageFormatter.cs
- DiscoveryDocumentSerializer.cs
- CompositeControl.cs
- RoleManagerModule.cs
- UInt32Storage.cs
- HtmlWindowCollection.cs
- ServiceEndpointCollection.cs
- GiveFeedbackEvent.cs
- OperationAbortedException.cs
- ScopeCompiler.cs
- ArcSegment.cs
- ChtmlTextWriter.cs
- AppDomainUnloadedException.cs