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
- CatalogZone.cs
- ObjectViewListener.cs
- QilReplaceVisitor.cs
- SoapEnumAttribute.cs
- AnonymousIdentificationModule.cs
- SHA1.cs
- HtmlTitle.cs
- ShaperBuffers.cs
- LicenseManager.cs
- GeneratedView.cs
- TableFieldsEditor.cs
- diagnosticsswitches.cs
- IUnknownConstantAttribute.cs
- SimpleExpression.cs
- TriggerBase.cs
- InternalDispatchObject.cs
- GridViewRowPresenterBase.cs
- PointAnimationUsingKeyFrames.cs
- RowToFieldTransformer.cs
- Part.cs
- DataKeyCollection.cs
- PlainXmlSerializer.cs
- XsdDuration.cs
- SpellerStatusTable.cs
- RegistryKey.cs
- OutputScopeManager.cs
- DataTableClearEvent.cs
- CustomWebEventKey.cs
- TableParagraph.cs
- ClientSponsor.cs
- DbParameterCollectionHelper.cs
- IgnoreFlushAndCloseStream.cs
- CrossAppDomainChannel.cs
- WindowsStatic.cs
- CollectionBuilder.cs
- ListDictionary.cs
- WSDualHttpBindingCollectionElement.cs
- Size.cs
- CompositionCommandSet.cs
- BackoffTimeoutHelper.cs
- WebPartDisplayModeCancelEventArgs.cs
- PartialClassGenerationTaskInternal.cs
- WpfXamlMember.cs
- SignedInfo.cs
- ControlPersister.cs
- ComEventsHelper.cs
- RegistrationServices.cs
- ExpressionDumper.cs
- TreeNodeClickEventArgs.cs
- BindingMAnagerBase.cs
- CachingHintValidation.cs
- CompilerResults.cs
- PermissionSetTriple.cs
- IntegerValidatorAttribute.cs
- WindowsRegion.cs
- wgx_commands.cs
- Rijndael.cs
- TailCallAnalyzer.cs
- StaticResourceExtension.cs
- RadioButtonAutomationPeer.cs
- Model3DGroup.cs
- MustUnderstandBehavior.cs
- ToolStripPanelCell.cs
- BindingElementCollection.cs
- WebHttpSecurity.cs
- ReadOnlyDictionary.cs
- FrugalList.cs
- XmlCustomFormatter.cs
- ConcurrencyBehavior.cs
- KeyPullup.cs
- ComponentDispatcher.cs
- TextBoxRenderer.cs
- AccessViolationException.cs
- TemplatePropertyEntry.cs
- QilPatternFactory.cs
- DataGridTableCollection.cs
- TransformGroup.cs
- Image.cs
- MeasurementDCInfo.cs
- UpdateTracker.cs
- namescope.cs
- XmlReader.cs
- CorrelationScope.cs
- FontNamesConverter.cs
- Annotation.cs
- Nullable.cs
- CategoryNameCollection.cs
- UserMapPath.cs
- ChannelSinkStacks.cs
- ToolStripPanel.cs
- PostBackOptions.cs
- DesignColumn.cs
- mactripleDES.cs
- WebResourceAttribute.cs
- BooleanFunctions.cs
- ValidatorCollection.cs
- InteropExecutor.cs
- PenCursorManager.cs
- SerializableAttribute.cs
- PropertyItem.cs