Code:
/ FX-1434 / FX-1434 / 1.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
- SwitchLevelAttribute.cs
- WpfGeneratedKnownTypes.cs
- MdImport.cs
- Transform3DCollection.cs
- ProtectedProviderSettings.cs
- PropertyValueUIItem.cs
- DriveInfo.cs
- DiagnosticsConfiguration.cs
- DataContractJsonSerializerOperationFormatter.cs
- DataTableClearEvent.cs
- Cursor.cs
- OleDbCommandBuilder.cs
- DocumentOrderQuery.cs
- DataSetMappper.cs
- ToolBarButton.cs
- BulletDecorator.cs
- Privilege.cs
- TraceProvider.cs
- XPathPatternBuilder.cs
- BindToObject.cs
- InternalRelationshipCollection.cs
- WindowAutomationPeer.cs
- PingOptions.cs
- LinkDescriptor.cs
- Security.cs
- ContextMenuStripGroup.cs
- StandardOleMarshalObject.cs
- WorkflowPersistenceService.cs
- InheritanceContextHelper.cs
- CookieParameter.cs
- BufferModeSettings.cs
- GridViewDeleteEventArgs.cs
- GridViewSelectEventArgs.cs
- UniqueSet.cs
- DebuggerAttributes.cs
- DBBindings.cs
- InitiatorSessionSymmetricMessageSecurityProtocol.cs
- XmlSchemaIdentityConstraint.cs
- GlyphRun.cs
- QilParameter.cs
- WeakEventTable.cs
- DesignTimeParseData.cs
- sortedlist.cs
- SoapIncludeAttribute.cs
- RelationHandler.cs
- Pen.cs
- GradientSpreadMethodValidation.cs
- SafeWaitHandle.cs
- RangeBaseAutomationPeer.cs
- PrintDialog.cs
- PropertyMetadata.cs
- HttpRequest.cs
- HttpDictionary.cs
- LinkArea.cs
- ExtendedProperty.cs
- DataSysAttribute.cs
- PrimaryKeyTypeConverter.cs
- CalendarDay.cs
- SchemaType.cs
- ChtmlImageAdapter.cs
- RadioButton.cs
- UrlMapping.cs
- Axis.cs
- InstallerTypeAttribute.cs
- EntityTemplateUserControl.cs
- FixedHyperLink.cs
- EncryptedKey.cs
- RegistrySecurity.cs
- InputLangChangeEvent.cs
- EntityDataSourceWrapperCollection.cs
- ContainerUtilities.cs
- SharingService.cs
- Scene3D.cs
- SqlCachedBuffer.cs
- SQLInt16.cs
- Errors.cs
- PropertyGridDesigner.cs
- OutputCacheSettingsSection.cs
- Avt.cs
- DataSet.cs
- TypedAsyncResult.cs
- ActivityIdHeader.cs
- FormViewPageEventArgs.cs
- RegexTree.cs
- Error.cs
- SimpleBitVector32.cs
- UpdateCommand.cs
- SettingsBindableAttribute.cs
- SerializationInfoEnumerator.cs
- RectAnimationClockResource.cs
- PromptBuilder.cs
- PathBox.cs
- XmlBinaryWriterSession.cs
- FixedSOMTableRow.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- HtmlLink.cs
- ServicePointManager.cs
- RC2CryptoServiceProvider.cs
- WebPartAddingEventArgs.cs
- MimeWriter.cs