Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Sys / 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
- DbParameterCollectionHelper.cs
- ObjectNavigationPropertyMapping.cs
- ExeContext.cs
- DatagridviewDisplayedBandsData.cs
- AliasGenerator.cs
- FontCacheLogic.cs
- Vars.cs
- ZipIOLocalFileHeader.cs
- DocumentXmlWriter.cs
- RadioButtonStandardAdapter.cs
- WSHttpBindingElement.cs
- PanelContainerDesigner.cs
- FlatButtonAppearance.cs
- peernodestatemanager.cs
- FileChangeNotifier.cs
- AnnotationAuthorChangedEventArgs.cs
- TimeZoneNotFoundException.cs
- HttpStreamFormatter.cs
- HttpVersion.cs
- Visual3DCollection.cs
- CLSCompliantAttribute.cs
- ContainerFilterService.cs
- XsdDuration.cs
- RoleServiceManager.cs
- TripleDESCryptoServiceProvider.cs
- SystemInfo.cs
- SqlSelectClauseBuilder.cs
- _ConnectStream.cs
- XPathDocumentNavigator.cs
- NavigatorOutput.cs
- XmlArrayItemAttributes.cs
- Propagator.ExtentPlaceholderCreator.cs
- LogEntryHeaderDeserializer.cs
- SplineKeyFrames.cs
- EntitySqlQueryCacheKey.cs
- ScriptingRoleServiceSection.cs
- CodeDelegateCreateExpression.cs
- AtomServiceDocumentSerializer.cs
- GridViewRowCollection.cs
- X509ChainPolicy.cs
- StorageModelBuildProvider.cs
- SqlDataSourceSelectingEventArgs.cs
- ListManagerBindingsCollection.cs
- RemoteWebConfigurationHost.cs
- BinHexDecoder.cs
- KeyValueSerializer.cs
- ShapingEngine.cs
- OracleNumber.cs
- EventLogTraceListener.cs
- KeyManager.cs
- TypeGenericEnumerableViewSchema.cs
- MetadataWorkspace.cs
- UIElement3DAutomationPeer.cs
- XmlAttribute.cs
- ScriptingProfileServiceSection.cs
- FormViewRow.cs
- FocusChangedEventArgs.cs
- __ConsoleStream.cs
- Transform.cs
- InternalBase.cs
- HtmlInputReset.cs
- XmlSubtreeReader.cs
- ContextMenu.cs
- ClientProtocol.cs
- HttpRequest.cs
- BrushMappingModeValidation.cs
- WebPartDisplayMode.cs
- CharConverter.cs
- TemplateLookupAction.cs
- HtmlInputSubmit.cs
- KnownBoxes.cs
- OrthographicCamera.cs
- Literal.cs
- ContextProperty.cs
- SecurityDescriptor.cs
- PageThemeCodeDomTreeGenerator.cs
- CompositeFontFamily.cs
- ElementFactory.cs
- RepeatInfo.cs
- RegistryDataKey.cs
- VisualTreeUtils.cs
- ACE.cs
- SplitContainer.cs
- ListControl.cs
- FlowLayoutSettings.cs
- DrawingGroupDrawingContext.cs
- XsdBuilder.cs
- OperatingSystem.cs
- PeerSecurityManager.cs
- Rotation3D.cs
- FlowDocumentView.cs
- HttpContextServiceHost.cs
- WebBrowserNavigatingEventHandler.cs
- SBCSCodePageEncoding.cs
- AssociationTypeEmitter.cs
- PolicyManager.cs
- SqlConnectionHelper.cs
- _LoggingObject.cs
- PersonalizationStateInfo.cs
- EdmItemError.cs