Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Sys / 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
- SoapTypeAttribute.cs
- Overlapped.cs
- WebConfigurationManager.cs
- PropertyManager.cs
- SafeTokenHandle.cs
- VScrollProperties.cs
- HandlerFactoryCache.cs
- VirtualPathProvider.cs
- TextDecoration.cs
- MemoryFailPoint.cs
- DataTableReader.cs
- DbTypeMap.cs
- CallbackValidator.cs
- ObjectViewEntityCollectionData.cs
- CategoryGridEntry.cs
- ReferenceEqualityComparer.cs
- DispatcherExceptionEventArgs.cs
- TabPage.cs
- GridPatternIdentifiers.cs
- ToolBarOverflowPanel.cs
- SecurityContext.cs
- Properties.cs
- SSmlParser.cs
- HashJoinQueryOperatorEnumerator.cs
- DataServiceConfiguration.cs
- KeyEvent.cs
- AssemblyCache.cs
- SetterBaseCollection.cs
- ServiceHostFactory.cs
- InfoCardProofToken.cs
- ConstructorArgumentAttribute.cs
- XmlStringTable.cs
- HttpProcessUtility.cs
- BufferedGraphicsContext.cs
- DesignerInterfaces.cs
- KeyInterop.cs
- ServicesUtilities.cs
- SmiTypedGetterSetter.cs
- StringFunctions.cs
- WinEventHandler.cs
- PropertyPathWorker.cs
- GridViewDeletedEventArgs.cs
- BuildProvider.cs
- ImmutableObjectAttribute.cs
- ToolStripGrip.cs
- MSAANativeProvider.cs
- WebPart.cs
- EventData.cs
- dtdvalidator.cs
- FunctionMappingTranslator.cs
- DataTableExtensions.cs
- DataGridTable.cs
- DisplayMemberTemplateSelector.cs
- ViewUtilities.cs
- ButtonRenderer.cs
- UInt16.cs
- BaseDataBoundControl.cs
- UnsafeNativeMethodsMilCoreApi.cs
- Point.cs
- UITypeEditors.cs
- TranslateTransform.cs
- TypedReference.cs
- AsymmetricSignatureFormatter.cs
- Registry.cs
- storepermission.cs
- DiscardableAttribute.cs
- CellQuery.cs
- VarRemapper.cs
- ISFTagAndGuidCache.cs
- SystemUdpStatistics.cs
- ServiceModelExtensionCollectionElement.cs
- NullableIntMinMaxAggregationOperator.cs
- XmlnsCache.cs
- InkCanvasInnerCanvas.cs
- CodeExpressionStatement.cs
- ObjectDataSourceEventArgs.cs
- _ConnectStream.cs
- Command.cs
- Compiler.cs
- DbTransaction.cs
- BitmapImage.cs
- SocketElement.cs
- DataServiceExpressionVisitor.cs
- Button.cs
- RawUIStateInputReport.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- Application.cs
- SecureStringHasher.cs
- CodeCompileUnit.cs
- HtmlInputCheckBox.cs
- AxDesigner.cs
- TextEffect.cs
- ListBoxItem.cs
- TextRangeEditTables.cs
- MatrixKeyFrameCollection.cs
- SortFieldComparer.cs
- MasterPageBuildProvider.cs
- ConnectionStringsExpressionBuilder.cs
- ClientBuildManager.cs
- CollaborationHelperFunctions.cs