Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Configuration / System / Configuration / ConfigXmlWhitespace.cs / 1 / 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
- ReadOnlyHierarchicalDataSourceView.cs
- RemoveStoryboard.cs
- ClosableStream.cs
- DropShadowEffect.cs
- AttributeQuery.cs
- ImpersonateTokenRef.cs
- CompositeControlDesigner.cs
- XhtmlTextWriter.cs
- StylusPoint.cs
- DBCommand.cs
- IncrementalReadDecoders.cs
- RC2.cs
- ObjectKeyFrameCollection.cs
- DateTimePicker.cs
- JoinSymbol.cs
- XmlQueryCardinality.cs
- PeerCustomResolverElement.cs
- MarshalByRefObject.cs
- WebPartHelpVerb.cs
- DynamicResourceExtensionConverter.cs
- ModuleConfigurationInfo.cs
- PageAsyncTaskManager.cs
- ExpressionEditor.cs
- XmlDataImplementation.cs
- EntityContainer.cs
- IntegerValidatorAttribute.cs
- CodeMemberField.cs
- TransformPatternIdentifiers.cs
- TypeConstant.cs
- TdsParameterSetter.cs
- ValueUnavailableException.cs
- ButtonBaseAutomationPeer.cs
- XmlNodeChangedEventManager.cs
- SettingsBase.cs
- EventData.cs
- SamlSecurityTokenAuthenticator.cs
- RuntimeHelpers.cs
- PartialClassGenerationTaskInternal.cs
- AccessDataSourceView.cs
- AuthenticationModulesSection.cs
- ActionFrame.cs
- XmlUrlEditor.cs
- Configuration.cs
- WebPartMenuStyle.cs
- SoapClientMessage.cs
- SQLInt64Storage.cs
- FontStretch.cs
- TextContainerChangeEventArgs.cs
- TextServicesCompartment.cs
- DataTrigger.cs
- Common.cs
- DefaultParameterValueAttribute.cs
- ComplexObject.cs
- Manipulation.cs
- SessionEndingEventArgs.cs
- BooleanAnimationBase.cs
- DesignerObject.cs
- ToolStripItemEventArgs.cs
- MasterPageBuildProvider.cs
- GuidelineSet.cs
- ExpressionBindingCollection.cs
- XmlNullResolver.cs
- LinqDataView.cs
- DataServiceRequestOfT.cs
- SystemNetworkInterface.cs
- WindowsListViewScroll.cs
- BindableAttribute.cs
- Cell.cs
- ToolBarPanel.cs
- CreateUserWizardDesigner.cs
- FontConverter.cs
- ErrorProvider.cs
- MailMessage.cs
- UniqueEventHelper.cs
- DecoderBestFitFallback.cs
- MimeObjectFactory.cs
- Profiler.cs
- TreeViewDesigner.cs
- PrivilegedConfigurationManager.cs
- Pair.cs
- ImageSource.cs
- DictationGrammar.cs
- ContextStaticAttribute.cs
- LockingPersistenceProvider.cs
- DataGridTableCollection.cs
- PeerContact.cs
- SoapFault.cs
- CollectionViewGroup.cs
- NativeStructs.cs
- ManagedCodeMarkers.cs
- SchemaNamespaceManager.cs
- TreeNodeCollection.cs
- OdbcParameter.cs
- ResourceExpressionBuilder.cs
- MetadataAssemblyHelper.cs
- hresults.cs
- EntitySqlException.cs
- Int32Collection.cs
- PngBitmapDecoder.cs
- ListBoxItemAutomationPeer.cs