Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- IndependentAnimationStorage.cs
- Logging.cs
- COM2IProvidePropertyBuilderHandler.cs
- SiteMapHierarchicalDataSourceView.cs
- ProcessModule.cs
- FrameworkContextData.cs
- SiteMap.cs
- DataGridItem.cs
- ProxyHwnd.cs
- StylusButtonCollection.cs
- HebrewCalendar.cs
- BookmarkScopeHandle.cs
- DataGrid.cs
- RowUpdatedEventArgs.cs
- PopupRoot.cs
- EntityContainerEntitySet.cs
- TimeoutException.cs
- DescendantOverDescendantQuery.cs
- DictionaryGlobals.cs
- RegexWorker.cs
- EntitySqlQueryCacheEntry.cs
- WebServiceResponse.cs
- _ConnectionGroup.cs
- FacetDescriptionElement.cs
- State.cs
- BitmapEffectDrawingContextWalker.cs
- HealthMonitoringSectionHelper.cs
- DescriptionAttribute.cs
- GPRECTF.cs
- Trace.cs
- CalendarButtonAutomationPeer.cs
- MimeTypeMapper.cs
- _WebProxyDataBuilder.cs
- ArraySet.cs
- XmlWrappingWriter.cs
- ObjectListShowCommandsEventArgs.cs
- CompiledRegexRunnerFactory.cs
- DataRowView.cs
- DbException.cs
- AlternationConverter.cs
- AutomationIdentifier.cs
- UserControlAutomationPeer.cs
- Regex.cs
- XmlSchemaExporter.cs
- SoapEnumAttribute.cs
- MetadataArtifactLoaderComposite.cs
- ByteStack.cs
- XmlSortKeyAccumulator.cs
- CodeGroup.cs
- ControlCachePolicy.cs
- GridViewDeleteEventArgs.cs
- BitArray.cs
- HostDesigntimeLicenseContext.cs
- DesignerSerializationManager.cs
- OledbConnectionStringbuilder.cs
- PropertyTab.cs
- ProfileGroupSettingsCollection.cs
- AppPool.cs
- HttpResponseInternalWrapper.cs
- PersonalizablePropertyEntry.cs
- RoleBoolean.cs
- DesignerAutoFormatCollection.cs
- XmlTypeAttribute.cs
- ButtonRenderer.cs
- SafeNativeMethods.cs
- HttpCookiesSection.cs
- VisualTreeHelper.cs
- Win32KeyboardDevice.cs
- COM2ExtendedBrowsingHandler.cs
- TextMetrics.cs
- NeutralResourcesLanguageAttribute.cs
- CachedFontFace.cs
- InvalidMessageContractException.cs
- XmlAtomicValue.cs
- DirectoryInfo.cs
- Int32KeyFrameCollection.cs
- Debugger.cs
- MatrixStack.cs
- DispatcherProcessingDisabled.cs
- HtmlInputText.cs
- ReachSerializer.cs
- CodeParameterDeclarationExpressionCollection.cs
- OSFeature.cs
- InputScope.cs
- CustomAttributeSerializer.cs
- XmlSchemaAppInfo.cs
- ContextBase.cs
- DataContext.cs
- ControlBuilder.cs
- Encoding.cs
- BufferAllocator.cs
- PermissionListSet.cs
- EntitySetBaseCollection.cs
- IOException.cs
- GenericEnumerator.cs
- SafeHGlobalHandleCritical.cs
- Lease.cs
- PageStatePersister.cs
- SendKeys.cs
- XmlSerializerAssemblyAttribute.cs