Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Util / DoubleLink.cs / 1305376 / 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;}} 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AmbientProperties.cs
- AnimationClockResource.cs
- StateMachineWorkflowInstance.cs
- Attribute.cs
- XPathDocumentBuilder.cs
- SmtpClient.cs
- FocusManager.cs
- TableRow.cs
- X509IssuerSerialKeyIdentifierClause.cs
- ToolStripControlHost.cs
- TextElement.cs
- OutOfProcStateClientManager.cs
- ResourceAssociationTypeEnd.cs
- EntityStoreSchemaGenerator.cs
- TransformerConfigurationWizardBase.cs
- ModifyActivitiesPropertyDescriptor.cs
- SafeRightsManagementQueryHandle.cs
- TypedTableHandler.cs
- Item.cs
- AssemblyInfo.cs
- UICuesEvent.cs
- HttpHandlerAction.cs
- Axis.cs
- JournalEntryListConverter.cs
- FreezableCollection.cs
- Vector3DAnimation.cs
- PropertyDescriptor.cs
- ConditionValidator.cs
- Visual3D.cs
- CqlLexerHelpers.cs
- PolyBezierSegment.cs
- AsnEncodedData.cs
- DSASignatureFormatter.cs
- XmlEncodedRawTextWriter.cs
- Stopwatch.cs
- SmtpCommands.cs
- EntityDataSourceValidationException.cs
- FormatterConverter.cs
- HtmlEmptyTagControlBuilder.cs
- QueryExpr.cs
- TextPattern.cs
- TreeSet.cs
- DesignerObjectListAdapter.cs
- TraceSource.cs
- MULTI_QI.cs
- QilGeneratorEnv.cs
- RightsManagementInformation.cs
- SerializationObjectManager.cs
- precedingsibling.cs
- ScriptResourceAttribute.cs
- InputManager.cs
- DataGridState.cs
- Comparer.cs
- COM2ColorConverter.cs
- XmlAtomErrorReader.cs
- COM2ExtendedTypeConverter.cs
- HighlightVisual.cs
- TableCellAutomationPeer.cs
- SqlBuffer.cs
- SmiEventSink.cs
- TypeToken.cs
- GenericTypeParameterBuilder.cs
- PasswordBox.cs
- WarningException.cs
- StateItem.cs
- BamlLocalizabilityResolver.cs
- Double.cs
- SupportsEventValidationAttribute.cs
- SelectorItemAutomationPeer.cs
- PersonalizationStateInfo.cs
- ImageFormat.cs
- CodeRegionDirective.cs
- UidManager.cs
- SemanticResultValue.cs
- CultureSpecificStringDictionary.cs
- NumberSubstitution.cs
- ComboBoxRenderer.cs
- DashStyle.cs
- SHA1.cs
- LocatorBase.cs
- DataChangedEventManager.cs
- SkipQueryOptionExpression.cs
- FontTypeConverter.cs
- _AutoWebProxyScriptEngine.cs
- RequestQueryParser.cs
- AssociationEndMember.cs
- MenuItemStyleCollection.cs
- _SslSessionsCache.cs
- ObjectIDGenerator.cs
- ControlType.cs
- StickyNoteContentControl.cs
- FloaterBaseParagraph.cs
- ImportContext.cs
- PointCollection.cs
- _TransmitFileOverlappedAsyncResult.cs
- XPathScanner.cs
- TypeUtil.cs
- RangeValidator.cs
- ExternalException.cs
- FloaterParagraph.cs