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
- shaperfactoryquerycachekey.cs
- ObjectItemAttributeAssemblyLoader.cs
- MailHeaderInfo.cs
- ModelItemImpl.cs
- FileDataSourceCache.cs
- LeafCellTreeNode.cs
- XmlSchemaImporter.cs
- TrackingConditionCollection.cs
- URL.cs
- ResourceIDHelper.cs
- PageThemeCodeDomTreeGenerator.cs
- ParserExtension.cs
- SQLString.cs
- TdsParserHelperClasses.cs
- InfoCardConstants.cs
- ReaderWriterLockWrapper.cs
- AutomationPatternInfo.cs
- ToolStripOverflowButton.cs
- ContourSegment.cs
- COM2ColorConverter.cs
- XmlQueryStaticData.cs
- SqlInternalConnection.cs
- EventWaitHandle.cs
- RequestCacheManager.cs
- RelationshipNavigation.cs
- RegexBoyerMoore.cs
- DesignerRegionMouseEventArgs.cs
- AccessKeyManager.cs
- HttpModuleAction.cs
- FrameworkTextComposition.cs
- MetadataItemEmitter.cs
- ValidatedControlConverter.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- Inline.cs
- XmlDocumentSchema.cs
- PathParser.cs
- ViewLoader.cs
- IncrementalCompileAnalyzer.cs
- CatalogZoneBase.cs
- AddressHeader.cs
- DbExpressionVisitor.cs
- ArithmeticException.cs
- XpsStructure.cs
- ProcessHost.cs
- DSASignatureDeformatter.cs
- SqlClientMetaDataCollectionNames.cs
- ExtensionFile.cs
- Binding.cs
- Point4D.cs
- MarkupExtensionParser.cs
- ReadOnlyPermissionSet.cs
- DbConnectionStringCommon.cs
- TimeoutException.cs
- ApplicationId.cs
- NativeMethods.cs
- LiteralTextParser.cs
- PersistenceTypeAttribute.cs
- SrgsRule.cs
- CryptoKeySecurity.cs
- CommandManager.cs
- PrimarySelectionAdorner.cs
- Main.cs
- DialogResultConverter.cs
- OneWayElement.cs
- WebEventTraceProvider.cs
- SectionVisual.cs
- ValueSerializer.cs
- HtmlElementCollection.cs
- SslStream.cs
- WizardSideBarListControlItem.cs
- HyperLinkField.cs
- PathFigure.cs
- FacetChecker.cs
- DataGridItemCollection.cs
- HttpRequestBase.cs
- BitStack.cs
- DbFunctionCommandTree.cs
- ToolStripDropDownMenu.cs
- RegexReplacement.cs
- ScrollViewer.cs
- Roles.cs
- lengthconverter.cs
- WindowsListViewScroll.cs
- DocumentAutomationPeer.cs
- DataGridViewColumnHeaderCell.cs
- SafeCoTaskMem.cs
- SchemaType.cs
- DefaultPropertyAttribute.cs
- DesignerValidationSummaryAdapter.cs
- ScrollEvent.cs
- EntityDesignerDataSourceView.cs
- DataGridViewCellValueEventArgs.cs
- OleDbSchemaGuid.cs
- Attributes.cs
- _BasicClient.cs
- QueryConverter.cs
- Accessible.cs
- RotateTransform.cs
- NotifyParentPropertyAttribute.cs
- SystemColors.cs