Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Configuration / System / Configuration / ConfigXmlSignificantWhitespace.cs / 1 / 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
- WCFModelStrings.Designer.cs
- XmlDataFileEditor.cs
- SupportsPreviewControlAttribute.cs
- DateTimeConverter2.cs
- WindowsRichEdit.cs
- MessageSmuggler.cs
- DrawingAttributesDefaultValueFactory.cs
- XmlTypeAttribute.cs
- BamlRecordReader.cs
- ItemCheckedEvent.cs
- ProfileService.cs
- BaseComponentEditor.cs
- VectorAnimation.cs
- InteropAutomationProvider.cs
- MetadataArtifactLoaderResource.cs
- UIElement3D.cs
- SqlMethodTransformer.cs
- TreeSet.cs
- StyleHelper.cs
- ImageField.cs
- XmlSerializerVersionAttribute.cs
- SqlAggregateChecker.cs
- HwndSubclass.cs
- InkPresenterAutomationPeer.cs
- ZipArchive.cs
- BaseUriHelper.cs
- CfgSemanticTag.cs
- XsdBuilder.cs
- SequenceDesigner.cs
- XmlQualifiedNameTest.cs
- OperationPickerDialog.designer.cs
- XmlHierarchicalEnumerable.cs
- InputLanguageSource.cs
- GenericEnumerator.cs
- AstTree.cs
- MemberAccessException.cs
- InternalCache.cs
- XmlSchemaNotation.cs
- AssertFilter.cs
- WebPartConnectionsEventArgs.cs
- OdbcException.cs
- OrderedDictionary.cs
- TableRow.cs
- _SslState.cs
- SqlLiftIndependentRowExpressions.cs
- ScrollBarRenderer.cs
- SQlBooleanStorage.cs
- DbProviderSpecificTypePropertyAttribute.cs
- CryptoKeySecurity.cs
- TTSVoice.cs
- Cursors.cs
- PeerObject.cs
- UniqueSet.cs
- Input.cs
- UnhandledExceptionEventArgs.cs
- Screen.cs
- RegexWorker.cs
- GroupLabel.cs
- MatrixCamera.cs
- selecteditemcollection.cs
- SemaphoreSlim.cs
- HTMLTagNameToTypeMapper.cs
- MenuItemBindingCollection.cs
- DecoderReplacementFallback.cs
- SerializationAttributes.cs
- VisualCollection.cs
- ClockController.cs
- CellCreator.cs
- odbcmetadatacolumnnames.cs
- DrawingContextWalker.cs
- XmlRawWriter.cs
- GeneralTransform3D.cs
- IntSecurity.cs
- ReadOnlyDictionary.cs
- BitStream.cs
- ComponentResourceKeyConverter.cs
- ListViewItemMouseHoverEvent.cs
- BrowserDefinition.cs
- ListChunk.cs
- CollectionBuilder.cs
- SchemaImporterExtensionsSection.cs
- ManagedFilter.cs
- FormParameter.cs
- TextSimpleMarkerProperties.cs
- UrlMappingCollection.cs
- ByteKeyFrameCollection.cs
- RuleValidation.cs
- AttachedPropertyDescriptor.cs
- SynthesizerStateChangedEventArgs.cs
- OpCellTreeNode.cs
- Queue.cs
- SafeRightsManagementHandle.cs
- SplayTreeNode.cs
- MsmqHostedTransportManager.cs
- ObjectAssociationEndMapping.cs
- UdpTransportBindingElement.cs
- SchemaElementLookUpTable.cs
- AttributeEmitter.cs
- ApplicationSettingsBase.cs
- DesignerImageAdapter.cs