Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Configuration / 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
- SeverityFilter.cs
- SQLBoolean.cs
- Bitmap.cs
- DifferencingCollection.cs
- ItemPager.cs
- SparseMemoryStream.cs
- ToolZone.cs
- ConfigurationSectionGroup.cs
- TemplateControl.cs
- AsymmetricKeyExchangeDeformatter.cs
- RoleServiceManager.cs
- RequestCachePolicy.cs
- FormViewPagerRow.cs
- UInt32Converter.cs
- GenericIdentity.cs
- SamlSubjectStatement.cs
- DependencyPropertyChangedEventArgs.cs
- WebPartConnectVerb.cs
- PropertyGridDesigner.cs
- SymmetricKey.cs
- TreeView.cs
- RSAOAEPKeyExchangeFormatter.cs
- MultiView.cs
- ExpandSegmentCollection.cs
- InvalidComObjectException.cs
- RootDesignerSerializerAttribute.cs
- SafeRightsManagementEnvironmentHandle.cs
- StateMachineSubscriptionManager.cs
- InvalidOperationException.cs
- TemplateContent.cs
- InvokeHandlers.cs
- TableRow.cs
- D3DImage.cs
- unitconverter.cs
- XsdDateTime.cs
- DataGridPageChangedEventArgs.cs
- returneventsaver.cs
- CollectionConverter.cs
- ObjectQueryState.cs
- RuntimeConfig.cs
- TextChangedEventArgs.cs
- SlipBehavior.cs
- SchemaNotation.cs
- ItemMap.cs
- EntitySetBaseCollection.cs
- RawStylusInputReport.cs
- ValidationEventArgs.cs
- ControlPropertyNameConverter.cs
- CharEntityEncoderFallback.cs
- TreeViewDesigner.cs
- CodeGroup.cs
- TextElementEditingBehaviorAttribute.cs
- PackWebRequestFactory.cs
- PermissionToken.cs
- PenThreadWorker.cs
- HttpResponseMessageProperty.cs
- _Connection.cs
- Control.cs
- storepermission.cs
- ModelItemImpl.cs
- CallId.cs
- ModuleElement.cs
- SiteMapDataSource.cs
- SqlBuilder.cs
- ListBoxItem.cs
- ZipIOLocalFileHeader.cs
- dtdvalidator.cs
- SessionStateUtil.cs
- ExpandedWrapper.cs
- UICuesEvent.cs
- X509CertificateValidator.cs
- CollectionConverter.cs
- RawStylusInput.cs
- SqlMethodTransformer.cs
- AnnotationAuthorChangedEventArgs.cs
- LineVisual.cs
- WindowHideOrCloseTracker.cs
- SendKeys.cs
- AnnotationService.cs
- DataObjectMethodAttribute.cs
- ExtensionWindowResizeGrip.cs
- PreProcessor.cs
- ReaderOutput.cs
- DataGridLinkButton.cs
- TimeSpanMinutesConverter.cs
- SystemResources.cs
- QueryStack.cs
- srgsitem.cs
- PointIndependentAnimationStorage.cs
- UnsafeMethods.cs
- X509RawDataKeyIdentifierClause.cs
- XmlSiteMapProvider.cs
- webeventbuffer.cs
- EventWaitHandleSecurity.cs
- WSSecurityTokenSerializer.cs
- FieldToken.cs
- CloudCollection.cs
- HuffmanTree.cs
- BridgeDataReader.cs
- SQLMembershipProvider.cs