Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / System / Configuration / ConfigXmlSignificantWhitespace.cs / 1305376 / ConfigXmlSignificantWhitespace.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 ConfigXmlSignificantWhitespace : XmlSignificantWhitespace, IConfigErrorInfo { public ConfigXmlSignificantWhitespace(string filename, int line, string strData, XmlDocument doc) : base(strData, doc) { _line = line; _filename = filename; } int _line; string _filename; int IConfigErrorInfo.LineNumber { get { return _line; } } string IConfigErrorInfo.Filename { get { return _filename; } } public override XmlNode CloneNode(bool deep) { XmlNode cloneNode = base.CloneNode(deep); ConfigXmlSignificantWhitespace clone = cloneNode as ConfigXmlSignificantWhitespace; 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 ConfigXmlSignificantWhitespace : XmlSignificantWhitespace, IConfigErrorInfo { public ConfigXmlSignificantWhitespace(string filename, int line, string strData, XmlDocument doc) : base(strData, doc) { _line = line; _filename = filename; } int _line; string _filename; int IConfigErrorInfo.LineNumber { get { return _line; } } string IConfigErrorInfo.Filename { get { return _filename; } } public override XmlNode CloneNode(bool deep) { XmlNode cloneNode = base.CloneNode(deep); ConfigXmlSignificantWhitespace clone = cloneNode as ConfigXmlSignificantWhitespace; 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
- HideDisabledControlAdapter.cs
- MetadataItemEmitter.cs
- DataGridColumn.cs
- FormatConvertedBitmap.cs
- SafeLibraryHandle.cs
- Utils.cs
- RelatedPropertyManager.cs
- CompositeDataBoundControl.cs
- webeventbuffer.cs
- FullTextBreakpoint.cs
- RichTextBoxAutomationPeer.cs
- SimpleWorkerRequest.cs
- GeneralTransform.cs
- SelectionItemProviderWrapper.cs
- DefaultEventAttribute.cs
- SecurityCredentialsManager.cs
- ItemCheckEvent.cs
- CustomAttribute.cs
- SequentialUshortCollection.cs
- SQLInt64Storage.cs
- LinkConverter.cs
- SoapFormatter.cs
- MatrixValueSerializer.cs
- _LocalDataStore.cs
- IndicFontClient.cs
- Reference.cs
- XPathDocumentBuilder.cs
- CaretElement.cs
- SQLDecimalStorage.cs
- AnnotationAdorner.cs
- TextFormatter.cs
- MemberExpression.cs
- CalendarTable.cs
- ByeOperationCD1AsyncResult.cs
- RadioButton.cs
- HttpContext.cs
- DynamicRouteExpression.cs
- EndEvent.cs
- remotingproxy.cs
- COM2IDispatchConverter.cs
- CheckedPointers.cs
- SoapEnumAttribute.cs
- EntityDataSourceDataSelection.cs
- GC.cs
- TextElementEnumerator.cs
- SystemShuttingDownException.cs
- DateTimeValueSerializerContext.cs
- EventPropertyMap.cs
- WebErrorHandler.cs
- SpecialFolderEnumConverter.cs
- CommittableTransaction.cs
- RouteItem.cs
- StringSorter.cs
- PropertyEmitter.cs
- PrintPageEvent.cs
- DialogResultConverter.cs
- WindowsAuthenticationModule.cs
- AssociatedControlConverter.cs
- WebPartConnectVerb.cs
- LayoutSettings.cs
- TypeExtensions.cs
- DataServiceRequestException.cs
- Rectangle.cs
- ResourcesGenerator.cs
- QuaternionRotation3D.cs
- BitmapEditor.cs
- BezierSegment.cs
- RuntimeConfigLKG.cs
- ToolStripOverflow.cs
- ObjectDataSource.cs
- DataAdapter.cs
- StreamAsIStream.cs
- ConnectionPoint.cs
- SafeNativeMethodsCLR.cs
- DataGridViewElement.cs
- TriState.cs
- Inflater.cs
- DbConnectionHelper.cs
- TextHidden.cs
- ScriptManagerProxy.cs
- CodeDomLocalizationProvider.cs
- DisposableCollectionWrapper.cs
- AlphabeticalEnumConverter.cs
- DataTableTypeConverter.cs
- AssociationSet.cs
- ReflectionPermission.cs
- SqlFactory.cs
- EntityRecordInfo.cs
- DbReferenceCollection.cs
- MasterPage.cs
- DataGridRelationshipRow.cs
- GridViewRowEventArgs.cs
- SchemaCollectionCompiler.cs
- FragmentQueryKB.cs
- InputProcessorProfiles.cs
- XsltLoader.cs
- LinearGradientBrush.cs
- RadioButtonList.cs
- SqlConnectionHelper.cs
- SystemTcpConnection.cs