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
- HostSecurityManager.cs
- ProgressPage.cs
- xsdvalidator.cs
- Util.cs
- DisplayMemberTemplateSelector.cs
- Timeline.cs
- InvalidWMPVersionException.cs
- TypeConverterValueSerializer.cs
- ConfigurationStrings.cs
- ListViewDataItem.cs
- RenderData.cs
- ADMembershipProvider.cs
- ErrorRuntimeConfig.cs
- FileBasedResourceGroveler.cs
- NamespaceQuery.cs
- BadImageFormatException.cs
- ListViewAutomationPeer.cs
- odbcmetadatacolumnnames.cs
- WeakReferenceList.cs
- MediaTimeline.cs
- SafeRegistryKey.cs
- XmlSchemaAttributeGroup.cs
- MarkupWriter.cs
- HyperLink.cs
- SingleConverter.cs
- ModelTypeConverter.cs
- ToolStripDesigner.cs
- MultipleCopiesCollection.cs
- MediaContext.cs
- XmlSchemaNotation.cs
- KnownTypesHelper.cs
- TextEffectResolver.cs
- TextControlDesigner.cs
- CapabilitiesRule.cs
- CommonDialog.cs
- Operators.cs
- SBCSCodePageEncoding.cs
- DataGridViewComboBoxEditingControl.cs
- TransformGroup.cs
- ViewPort3D.cs
- XmlBufferReader.cs
- PrimitiveSchema.cs
- TextFormatterContext.cs
- CompositeCollectionView.cs
- RepeaterItemCollection.cs
- XpsManager.cs
- EmbeddedMailObjectsCollection.cs
- WebServiceClientProxyGenerator.cs
- KeySpline.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- HMACSHA384.cs
- AdornerLayer.cs
- WindowCollection.cs
- Encoder.cs
- TraceContextRecord.cs
- NestedContainer.cs
- TraceSource.cs
- TrackingServices.cs
- DesignerSerializationOptionsAttribute.cs
- RecipientInfo.cs
- ByteStream.cs
- PhysicalFontFamily.cs
- PanningMessageFilter.cs
- SafeMILHandle.cs
- ResolveInfo.cs
- ClassicBorderDecorator.cs
- AnnotationComponentChooser.cs
- ResourceLoader.cs
- StructuredProperty.cs
- TraceHwndHost.cs
- RolePrincipal.cs
- DispatcherExceptionEventArgs.cs
- SmuggledIUnknown.cs
- UserPreference.cs
- XmlComment.cs
- SymbolType.cs
- BaseTemplateBuildProvider.cs
- ScriptingRoleServiceSection.cs
- NetworkAddressChange.cs
- VectorCollection.cs
- DecoderFallback.cs
- DiscreteKeyFrames.cs
- StrokeDescriptor.cs
- RemotingConfigParser.cs
- GacUtil.cs
- ConfigurationStrings.cs
- SubMenuStyleCollection.cs
- MonikerProxyAttribute.cs
- AccessDataSource.cs
- TemplateXamlParser.cs
- CodeConstructor.cs
- ConfigurationPermission.cs
- DebugViewWriter.cs
- TextHidden.cs
- UTF32Encoding.cs
- JoinTreeNode.cs
- TransformCryptoHandle.cs
- ConvertTextFrag.cs
- LongTypeConverter.cs
- LicenseContext.cs