Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Sys / System / Configuration / ConfigXmlWhitespace.cs / 1305376 / ConfigXmlWhitespace.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 ConfigXmlWhitespace : XmlWhitespace, IConfigErrorInfo { public ConfigXmlWhitespace( string filename, int line, string comment, XmlDocument doc ) : base( comment, 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); ConfigXmlWhitespace clone = cloneNode as ConfigXmlWhitespace; 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 ConfigXmlWhitespace : XmlWhitespace, IConfigErrorInfo { public ConfigXmlWhitespace( string filename, int line, string comment, XmlDocument doc ) : base( comment, 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); ConfigXmlWhitespace clone = cloneNode as ConfigXmlWhitespace; 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
- TypedRowHandler.cs
- DataServiceRequestException.cs
- SelectingProviderEventArgs.cs
- Asn1IntegerConverter.cs
- FormatSettings.cs
- DetailsViewUpdateEventArgs.cs
- TrackingStringDictionary.cs
- TextRange.cs
- PreservationFileWriter.cs
- SoapFormatter.cs
- WindowHideOrCloseTracker.cs
- DataGridViewAutoSizeModeEventArgs.cs
- XmlLoader.cs
- UserValidatedEventArgs.cs
- CachedRequestParams.cs
- CFGGrammar.cs
- WizardDesigner.cs
- ObjectQueryProvider.cs
- BuiltInExpr.cs
- SystemIdentity.cs
- NativeMethods.cs
- SingleSelectRootGridEntry.cs
- ConfigurationValues.cs
- DispatcherHooks.cs
- DbMetaDataColumnNames.cs
- UiaCoreTypesApi.cs
- ToggleProviderWrapper.cs
- TrustManagerPromptUI.cs
- SpellerInterop.cs
- EncodingNLS.cs
- JumpItem.cs
- TableLayoutPanel.cs
- Parser.cs
- ViewLoader.cs
- SystemIcmpV6Statistics.cs
- DmlSqlGenerator.cs
- BooleanStorage.cs
- WorkflowInstanceProvider.cs
- DataGridViewCellParsingEventArgs.cs
- QueryUtil.cs
- ReadOnlyTernaryTree.cs
- ReferenceConverter.cs
- HandlerBase.cs
- OleDbCommand.cs
- ConfigXmlReader.cs
- hwndwrapper.cs
- JsonServiceDocumentSerializer.cs
- TextTreeTextElementNode.cs
- CommentAction.cs
- Mappings.cs
- PlatformCulture.cs
- HierarchicalDataBoundControlAdapter.cs
- DbParameterCollection.cs
- DataFormats.cs
- OpenTypeCommon.cs
- SqlUnionizer.cs
- RunWorkerCompletedEventArgs.cs
- GridViewRowCollection.cs
- SoapIgnoreAttribute.cs
- LocationChangedEventArgs.cs
- ObjectManager.cs
- StrongNameUtility.cs
- CheckedPointers.cs
- LineServicesRun.cs
- XPathBuilder.cs
- CodeArrayCreateExpression.cs
- Journal.cs
- Size.cs
- SystemNetworkInterface.cs
- WindowsClaimSet.cs
- XmlCodeExporter.cs
- DbProviderSpecificTypePropertyAttribute.cs
- TextSelectionHelper.cs
- TypeInitializationException.cs
- Content.cs
- XmlSchemaParticle.cs
- Drawing.cs
- ClockGroup.cs
- DataGridSortCommandEventArgs.cs
- DataShape.cs
- ManipulationDeltaEventArgs.cs
- MessageBox.cs
- GridViewSelectEventArgs.cs
- FormatException.cs
- RoleManagerEventArgs.cs
- StructuralCache.cs
- WSSecurityOneDotZeroReceiveSecurityHeader.cs
- OptimalTextSource.cs
- SchemaCollectionCompiler.cs
- AvtEvent.cs
- ReadOnlyAttribute.cs
- SkinBuilder.cs
- CodeBinaryOperatorExpression.cs
- ConnectorEditor.cs
- Constraint.cs
- HtmlSelect.cs
- FixedSOMLineCollection.cs
- ApplicationSecurityInfo.cs
- Point.cs
- ToolTip.cs