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
- ZipIOBlockManager.cs
- ThemeInfoAttribute.cs
- SettingsSavedEventArgs.cs
- Helper.cs
- TranslateTransform3D.cs
- mansign.cs
- InOutArgument.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- RenameRuleObjectDialog.cs
- cookie.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ApplyTemplatesAction.cs
- XmlNullResolver.cs
- ComPlusTraceRecord.cs
- PrintingPermissionAttribute.cs
- TypedReference.cs
- SessionEndingCancelEventArgs.cs
- RIPEMD160.cs
- DefaultWorkflowSchedulerService.cs
- TreePrinter.cs
- Manipulation.cs
- DefaultValidator.cs
- NavigationProgressEventArgs.cs
- BooleanProjectedSlot.cs
- ServicePointManager.cs
- AmbientLight.cs
- StretchValidation.cs
- ArgumentException.cs
- ContentPosition.cs
- UriSectionReader.cs
- ParserOptions.cs
- ReflectionUtil.cs
- ToolStrip.cs
- BaseAsyncResult.cs
- TemplateBindingExtension.cs
- LinqTreeNodeEvaluator.cs
- LoginView.cs
- Positioning.cs
- ContainsSearchOperator.cs
- ModelItemExtensions.cs
- ContextStaticAttribute.cs
- Setter.cs
- CachingHintValidation.cs
- CodeMemberProperty.cs
- SamlAuthenticationClaimResource.cs
- SvcMapFileSerializer.cs
- XmlNamedNodeMap.cs
- XmlAttribute.cs
- ClientProxyGenerator.cs
- StringKeyFrameCollection.cs
- HashCoreRequest.cs
- CalendarDateRangeChangingEventArgs.cs
- CuspData.cs
- HandlerBase.cs
- TargetParameterCountException.cs
- Rule.cs
- GrammarBuilder.cs
- NullableFloatMinMaxAggregationOperator.cs
- XmlProcessingInstruction.cs
- WebHttpSecurityElement.cs
- DataRecord.cs
- CreateUserWizardStep.cs
- AssemblyBuilderData.cs
- Pointer.cs
- ConsumerConnectionPoint.cs
- ADConnectionHelper.cs
- ResourcePermissionBase.cs
- ViewKeyConstraint.cs
- Utils.cs
- Lease.cs
- EncryptedReference.cs
- ConnectionStringsSection.cs
- LogicalExpr.cs
- WsrmFault.cs
- DecoderExceptionFallback.cs
- Message.cs
- NullableDoubleSumAggregationOperator.cs
- EditorZoneBase.cs
- ByteAnimationUsingKeyFrames.cs
- TreeNode.cs
- WindowsTreeView.cs
- SystemIPv6InterfaceProperties.cs
- SqlUdtInfo.cs
- ToolStripDropDownMenu.cs
- SqlGatherConsumedAliases.cs
- JapaneseCalendar.cs
- RectKeyFrameCollection.cs
- TraceHandler.cs
- ResXDataNode.cs
- PageMediaSize.cs
- SelectionRangeConverter.cs
- BindingListCollectionView.cs
- PropertyFilter.cs
- ZipQueryOperator.cs
- EncodingInfo.cs
- RuntimeComponentFilter.cs
- CollectionViewProxy.cs
- ExecutionEngineException.cs
- ClientEventManager.cs
- OdbcConnection.cs