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
- TriState.cs
- WebPartDeleteVerb.cs
- PreProcessInputEventArgs.cs
- ErrorFormatterPage.cs
- IUnknownConstantAttribute.cs
- UserControlAutomationPeer.cs
- WebHttpDispatchOperationSelectorData.cs
- LineServices.cs
- HostedTcpTransportManager.cs
- EntityClientCacheKey.cs
- BoundingRectTracker.cs
- Resources.Designer.cs
- CssClassPropertyAttribute.cs
- _HeaderInfoTable.cs
- FontConverter.cs
- Calendar.cs
- DropShadowBitmapEffect.cs
- SubclassTypeValidatorAttribute.cs
- SharedUtils.cs
- TextTreeTextElementNode.cs
- ByteStreamMessageUtility.cs
- TheQuery.cs
- ClientTargetSection.cs
- BamlLocalizationDictionary.cs
- PropertySegmentSerializationProvider.cs
- XmlTextAttribute.cs
- CompositeDataBoundControl.cs
- XamlNamespaceHelper.cs
- DataListComponentEditor.cs
- CharacterShapingProperties.cs
- ConfigurationValidatorBase.cs
- CacheAxisQuery.cs
- NullPackagingPolicy.cs
- BufferedWebEventProvider.cs
- ContextStaticAttribute.cs
- RuleSettingsCollection.cs
- Paragraph.cs
- HttpRequestMessageProperty.cs
- SequentialOutput.cs
- PrimitiveCodeDomSerializer.cs
- XPathSelfQuery.cs
- ActiveXHelper.cs
- GeometryCombineModeValidation.cs
- Avt.cs
- DesignerFrame.cs
- RoutedEventArgs.cs
- TreeViewImageIndexConverter.cs
- Geometry.cs
- PointConverter.cs
- InternalResources.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- CloudCollection.cs
- String.cs
- PlanCompilerUtil.cs
- TaskExceptionHolder.cs
- EventLogLink.cs
- CollectionExtensions.cs
- HtmlForm.cs
- DataServiceQueryException.cs
- WindowsGrip.cs
- WorkflowRuntimeService.cs
- ApplicationBuildProvider.cs
- CorrelationToken.cs
- CodeEntryPointMethod.cs
- MessageAction.cs
- TextBlock.cs
- ListViewDataItem.cs
- PackageStore.cs
- NullableConverter.cs
- ValidationEventArgs.cs
- Win32.cs
- ZipIOLocalFileDataDescriptor.cs
- ErrorLog.cs
- MessageBox.cs
- EntitySetRetriever.cs
- SoapExtensionReflector.cs
- login.cs
- Win32Native.cs
- OleDbConnection.cs
- TextAction.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- LongSumAggregationOperator.cs
- CheckBoxField.cs
- RegexInterpreter.cs
- cookie.cs
- ToolStripScrollButton.cs
- EpmContentDeSerializerBase.cs
- TypePropertyEditor.cs
- Animatable.cs
- AttachedAnnotationChangedEventArgs.cs
- FontCollection.cs
- SmtpReplyReaderFactory.cs
- BaseUriHelper.cs
- DesignerRegion.cs
- NumberSubstitution.cs
- DataBindingCollection.cs
- SqlCacheDependencyDatabaseCollection.cs
- DataGridTablesFactory.cs
- AmbientLight.cs
- ConditionalWeakTable.cs