Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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 } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DesignTableCollection.cs
- BitmapEffectInputData.cs
- OdbcConnectionFactory.cs
- WriteableOnDemandPackagePart.cs
- DataBinder.cs
- UITypeEditor.cs
- InternalBufferOverflowException.cs
- DoubleAnimationUsingKeyFrames.cs
- SoapHeaderException.cs
- MachineSettingsSection.cs
- SqlDataSourceEnumerator.cs
- ModelTreeManager.cs
- OracleCommandBuilder.cs
- HtmlInputSubmit.cs
- CharacterMetrics.cs
- ListViewItem.cs
- RoleGroupCollection.cs
- Command.cs
- Win32Exception.cs
- NullToBooleanConverter.cs
- ActivityContext.cs
- ResourcePermissionBaseEntry.cs
- WindowsEditBoxRange.cs
- DefaultAssemblyResolver.cs
- VectorCollection.cs
- SiteMapDataSource.cs
- CodeTypeDelegate.cs
- EdmRelationshipRoleAttribute.cs
- WriteableOnDemandStream.cs
- TdsParser.cs
- SiteMapPath.cs
- ConfigXmlReader.cs
- DetailsViewUpdateEventArgs.cs
- NumberSubstitution.cs
- HashAlgorithm.cs
- TouchPoint.cs
- RecipientInfo.cs
- DragEvent.cs
- XmlNamespaceMappingCollection.cs
- ConstraintConverter.cs
- ResourcesGenerator.cs
- EventToken.cs
- ReadOnlyHierarchicalDataSource.cs
- MobileListItemCollection.cs
- CodeTryCatchFinallyStatement.cs
- SystemIPAddressInformation.cs
- TraceSource.cs
- EntityDataSourceColumn.cs
- SamlConditions.cs
- TouchFrameEventArgs.cs
- SiteMapNode.cs
- RoleServiceManager.cs
- PrivilegeNotHeldException.cs
- PasswordTextNavigator.cs
- NumberFunctions.cs
- StorageBasedPackageProperties.cs
- MonthCalendar.cs
- CfgArc.cs
- AdapterDictionary.cs
- ComponentResourceKey.cs
- BaseDataBoundControl.cs
- CharStorage.cs
- DataGridView.cs
- DrawingVisual.cs
- TraversalRequest.cs
- SqlConnectionHelper.cs
- ServiceBusyException.cs
- AutoScrollExpandMessageFilter.cs
- SocketInformation.cs
- AmbientProperties.cs
- XmlSecureResolver.cs
- XmlExceptionHelper.cs
- TaskFormBase.cs
- Win32.cs
- ResourceLoader.cs
- SqlInternalConnectionSmi.cs
- NullableIntMinMaxAggregationOperator.cs
- SourceInterpreter.cs
- OutputCacheSection.cs
- ParseHttpDate.cs
- FloaterParaClient.cs
- FileNotFoundException.cs
- HtmlPanelAdapter.cs
- SiteMap.cs
- DataGridState.cs
- ReaderOutput.cs
- GridViewUpdatedEventArgs.cs
- ProfileEventArgs.cs
- WebBrowserProgressChangedEventHandler.cs
- TableAdapterManagerGenerator.cs
- ThemeInfoAttribute.cs
- ConfigsHelper.cs
- XmlExpressionDumper.cs
- DragEvent.cs
- CreatingCookieEventArgs.cs
- Accessible.cs
- OutputWindow.cs
- RectangleHotSpot.cs
- DependencyPropertyAttribute.cs
- DiscoveryRequestHandler.cs