Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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 } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BrowserCapabilitiesCompiler.cs
- EntityDataSourceDataSelection.cs
- HandleValueEditor.cs
- RequiredAttributeAttribute.cs
- UIElement.cs
- ItemChangedEventArgs.cs
- UserControlAutomationPeer.cs
- TranslateTransform3D.cs
- WindowsBrush.cs
- AVElementHelper.cs
- ToolStripDropDownMenu.cs
- TypedElement.cs
- StreamGeometry.cs
- LayoutExceptionEventArgs.cs
- GeneratedCodeAttribute.cs
- CreateSequenceResponse.cs
- TableCell.cs
- CodeEventReferenceExpression.cs
- RoleGroupCollection.cs
- FormViewCommandEventArgs.cs
- GregorianCalendarHelper.cs
- RedirectionProxy.cs
- _CookieModule.cs
- WebBrowserPermission.cs
- HttpRuntimeSection.cs
- ServerProtocol.cs
- WCFServiceClientProxyGenerator.cs
- TextPointer.cs
- DataTablePropertyDescriptor.cs
- TextStore.cs
- COM2ICategorizePropertiesHandler.cs
- XmlElementAttributes.cs
- FormViewPagerRow.cs
- _ConnectOverlappedAsyncResult.cs
- HtmlTextArea.cs
- TouchFrameEventArgs.cs
- UnrecognizedAssertionsBindingElement.cs
- UriParserTemplates.cs
- TextShapeableCharacters.cs
- ToolStripGripRenderEventArgs.cs
- StrokeNodeData.cs
- WsdlExporter.cs
- PolyBezierSegment.cs
- RelationshipDetailsRow.cs
- DesignerCapabilities.cs
- DesignerActionPanel.cs
- DataGridViewTextBoxCell.cs
- NamespaceQuery.cs
- FontSource.cs
- FontNameConverter.cs
- WindowsStatusBar.cs
- SystemBrushes.cs
- SubqueryTrackingVisitor.cs
- WebBrowserSiteBase.cs
- PackageFilter.cs
- RubberbandSelector.cs
- PageContentAsyncResult.cs
- CodeAssignStatement.cs
- SortAction.cs
- MarginCollapsingState.cs
- QilDataSource.cs
- BezierSegment.cs
- PrimitiveDataContract.cs
- KeyValuePairs.cs
- RichTextBoxAutomationPeer.cs
- FamilyTypefaceCollection.cs
- TableDetailsCollection.cs
- MethodRental.cs
- ReflectionPermission.cs
- CngAlgorithm.cs
- RequiredFieldValidator.cs
- SqlEnums.cs
- BitmapEffectInput.cs
- RequestStatusBarUpdateEventArgs.cs
- DataGridViewLayoutData.cs
- RoutedEventArgs.cs
- _LocalDataStoreMgr.cs
- DataBindingHandlerAttribute.cs
- DashStyles.cs
- Binding.cs
- DoWorkEventArgs.cs
- WindowsHyperlink.cs
- ColumnPropertiesGroup.cs
- ServerIdentity.cs
- WebPartEditorCancelVerb.cs
- TrackingDataItemValue.cs
- NullToBooleanConverter.cs
- MemberAccessException.cs
- Tracer.cs
- TextElementCollectionHelper.cs
- ThicknessAnimationBase.cs
- SqlCacheDependency.cs
- GeometryValueSerializer.cs
- DockAndAnchorLayout.cs
- LocatorGroup.cs
- EventsTab.cs
- ButtonBase.cs
- Validator.cs
- XmlSchemaIdentityConstraint.cs
- shaperfactoryquerycacheentry.cs