Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / Util / DoubleLink.cs / 1 / DoubleLink.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * DoubleLink * * Copyright (c) 1998-1999, Microsoft Corporation * */ namespace System.Web.Util { using System.Runtime.Serialization.Formatters; internal class DoubleLink { internal DoubleLink _next, _prev; internal Object Item; internal DoubleLink() { _next = _prev = this; } internal DoubleLink(Object item) : this() { this.Item = item; } internal DoubleLink Next {get {return _next;}} #if UNUSED_CODE internal DoubleLink Prev {get {return _prev;}} #endif internal void InsertAfter(DoubleLink after) { this._prev = after; this._next = after._next; after._next = this; this._next._prev = this; } internal void InsertBefore(DoubleLink before) { this._prev = before._prev; this._next = before; before._prev = this; this._prev._next = this; } internal void Remove() { this._prev._next = this._next; this._next._prev = this._prev; _next = _prev = this; } #if DBG internal virtual void DebugValidate() { Debug.CheckValid(this._next != this || this._prev == this, "Invalid link"); } internal virtual string DebugDescription(string indent) { string desc; desc = indent + "_next=" + _next + ", _prev=" + _prev + "\nItem="; desc += Debug.GetDescription(Item, indent + " "); return desc; } #endif } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Error.cs
- XhtmlMobileTextWriter.cs
- WmpBitmapDecoder.cs
- CalendarDesigner.cs
- SQLString.cs
- UIElementAutomationPeer.cs
- SeverityFilter.cs
- OdbcCommandBuilder.cs
- SizeChangedInfo.cs
- ServiceEndpointCollection.cs
- Mapping.cs
- WindowsIPAddress.cs
- Queue.cs
- XmlElementElement.cs
- EntityContainer.cs
- VisualTreeUtils.cs
- columnmapfactory.cs
- XmlSchemaValidationException.cs
- MetadataItemEmitter.cs
- localization.cs
- ProcessModuleCollection.cs
- WindowsSpinner.cs
- ScrollChrome.cs
- IisTraceListener.cs
- DesignTimeData.cs
- ImpersonateTokenRef.cs
- XmlCustomFormatter.cs
- EntityDataReader.cs
- loginstatus.cs
- LayoutTable.cs
- StringValidator.cs
- ConfigurationErrorsException.cs
- CodeLinePragma.cs
- RegionInfo.cs
- HwndAppCommandInputProvider.cs
- SqlCachedBuffer.cs
- LicenseException.cs
- FastEncoder.cs
- RichTextBoxConstants.cs
- CustomPopupPlacement.cs
- X509AsymmetricSecurityKey.cs
- MouseGesture.cs
- WebPartCloseVerb.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- _SSPISessionCache.cs
- UnsafeNativeMethods.cs
- EllipseGeometry.cs
- UInt16.cs
- EntityModelBuildProvider.cs
- PageParser.cs
- HtmlFormWrapper.cs
- DeferrableContent.cs
- MyContact.cs
- TargetInvocationException.cs
- MouseBinding.cs
- Trace.cs
- PixelFormat.cs
- Visual3D.cs
- Mapping.cs
- ApplicationServiceManager.cs
- AdornerHitTestResult.cs
- ExpressionHelper.cs
- XmlAtomicValue.cs
- Accessible.cs
- XmlEnumAttribute.cs
- AttributedMetaModel.cs
- RecognitionResult.cs
- CompositionDesigner.cs
- Floater.cs
- XPathExpr.cs
- CharConverter.cs
- SqlTypeSystemProvider.cs
- FtpWebRequest.cs
- ByteStreamBufferedMessageData.cs
- PrintControllerWithStatusDialog.cs
- PropertyChangedEventManager.cs
- PropertyBuilder.cs
- UnauthorizedWebPart.cs
- ClassDataContract.cs
- DocumentAutomationPeer.cs
- Point4D.cs
- ModelItemDictionary.cs
- FormViewPagerRow.cs
- ResourceDescriptionAttribute.cs
- Stream.cs
- Page.cs
- EdmComplexTypeAttribute.cs
- StatusBar.cs
- AdapterUtil.cs
- SecurityStateEncoder.cs
- SplitterCancelEvent.cs
- ConnectorRouter.cs
- ColorConvertedBitmapExtension.cs
- DataTableNewRowEvent.cs
- WebPartTracker.cs
- EventLogSession.cs
- HintTextConverter.cs
- EventMap.cs
- PassportIdentity.cs
- KeyValueConfigurationElement.cs