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
- UpdateException.cs
- DesignerLinkAdapter.cs
- Page.cs
- EmptyEnumerator.cs
- NativeWrapper.cs
- BinaryHeap.cs
- InsufficientExecutionStackException.cs
- Int32CAMarshaler.cs
- SettingsPropertyCollection.cs
- CustomAssemblyResolver.cs
- SocketSettings.cs
- LineMetrics.cs
- CodeSubDirectoriesCollection.cs
- ContentType.cs
- MultiSelector.cs
- FileNotFoundException.cs
- TrustSection.cs
- KeyValueConfigurationElement.cs
- ToolZone.cs
- XmlSchemaSimpleTypeRestriction.cs
- MultiView.cs
- ProxyBuilder.cs
- Int32Animation.cs
- FontUnit.cs
- SolidColorBrush.cs
- SQLDecimal.cs
- TextSegment.cs
- recordstatefactory.cs
- CustomAttributeBuilder.cs
- AuthenticationConfig.cs
- WindowsSidIdentity.cs
- Expression.DebuggerProxy.cs
- MulticastIPAddressInformationCollection.cs
- EncryptedPackage.cs
- WindowsTab.cs
- CFStream.cs
- NodeInfo.cs
- SqlDuplicator.cs
- Signature.cs
- ListBoxItem.cs
- ConfigsHelper.cs
- BooleanFacetDescriptionElement.cs
- ConnectionsZone.cs
- InstanceNameConverter.cs
- ObjectViewEntityCollectionData.cs
- CustomAttributeSerializer.cs
- CaseInsensitiveHashCodeProvider.cs
- RtType.cs
- AvTraceDetails.cs
- DiscoveryOperationContextExtension.cs
- DataGridDetailsPresenter.cs
- BasicCellRelation.cs
- IndependentAnimationStorage.cs
- ReferencedCategoriesDocument.cs
- ToolZone.cs
- OrderPreservingSpoolingTask.cs
- BoolExpression.cs
- MessageFault.cs
- CodeSpit.cs
- SerialReceived.cs
- AutoGeneratedFieldProperties.cs
- XPathChildIterator.cs
- Point4D.cs
- sqlstateclientmanager.cs
- ApplicationTrust.cs
- ProvidePropertyAttribute.cs
- BinaryUtilClasses.cs
- IncrementalHitTester.cs
- VectorAnimationUsingKeyFrames.cs
- OpacityConverter.cs
- HttpPostLocalhostServerProtocol.cs
- ParagraphVisual.cs
- SafeReadContext.cs
- DecoderFallback.cs
- HTMLTextWriter.cs
- LazyInitializer.cs
- SpellerInterop.cs
- ProcessHostServerConfig.cs
- RemotingConfiguration.cs
- JsonReader.cs
- SatelliteContractVersionAttribute.cs
- VariableQuery.cs
- XPathSelectionIterator.cs
- TextInfo.cs
- SecurityUtils.cs
- SrgsDocument.cs
- ContainerSelectorGlyph.cs
- TimeoutValidationAttribute.cs
- MarkupCompilePass1.cs
- XmlProcessingInstruction.cs
- MtomMessageEncodingBindingElement.cs
- TemplateField.cs
- ObjectDataSourceStatusEventArgs.cs
- IRCollection.cs
- AutomationPeer.cs
- GridEntry.cs
- Transform3DCollection.cs
- RpcCryptoRequest.cs
- Transform.cs
- RequestCacheManager.cs