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
- FormsAuthenticationModule.cs
- NavigateUrlConverter.cs
- DataGridLinkButton.cs
- ArraySegment.cs
- SQLStringStorage.cs
- HelpInfo.cs
- CodeExporter.cs
- odbcmetadatafactory.cs
- GeometryGroup.cs
- SimpleType.cs
- TokenizerHelper.cs
- DocumentGridContextMenu.cs
- TranslateTransform3D.cs
- TextRenderer.cs
- SqlDataSource.cs
- FormViewModeEventArgs.cs
- MasterPageBuildProvider.cs
- PeerApplication.cs
- CheckBoxFlatAdapter.cs
- WsdlContractConversionContext.cs
- Panel.cs
- XmlWrappingReader.cs
- X509CertificateCollection.cs
- WebPartTransformerCollection.cs
- RemotingConfigParser.cs
- XPathDocumentNavigator.cs
- Propagator.JoinPropagator.cs
- MembershipUser.cs
- NameScopePropertyAttribute.cs
- EdmConstants.cs
- SnapshotChangeTrackingStrategy.cs
- LinqDataSource.cs
- XamlSerializerUtil.cs
- RectIndependentAnimationStorage.cs
- FontDriver.cs
- Transform3DGroup.cs
- LineInfo.cs
- EncryptedKey.cs
- SafeViewOfFileHandle.cs
- BoundField.cs
- TableLayoutSettings.cs
- httpapplicationstate.cs
- FileDialog_Vista.cs
- LinearKeyFrames.cs
- DataGridViewCellStyleConverter.cs
- RemotingServices.cs
- XPathDocument.cs
- StyleConverter.cs
- SourceElementsCollection.cs
- ParallelTimeline.cs
- FontSourceCollection.cs
- RolePrincipal.cs
- SourceFileBuildProvider.cs
- UnmanagedMemoryStream.cs
- DoubleLinkList.cs
- HtmlControl.cs
- EventListenerClientSide.cs
- ScriptRef.cs
- WebPartCollection.cs
- Point3DAnimation.cs
- TemplateBamlTreeBuilder.cs
- FixedFlowMap.cs
- WebContext.cs
- GenericRootAutomationPeer.cs
- NavigatingCancelEventArgs.cs
- VBIdentifierNameEditor.cs
- ISAPIWorkerRequest.cs
- SelectionHighlightInfo.cs
- MarshalByValueComponent.cs
- ZipIOExtraFieldElement.cs
- ConfigurationManagerInternalFactory.cs
- ExpandoClass.cs
- ProfileInfo.cs
- ApplicationHost.cs
- AttributeConverter.cs
- TrackingStringDictionary.cs
- TransportationConfigurationTypeInstallComponent.cs
- TreeView.cs
- Symbol.cs
- WorkflowCreationContext.cs
- FileDataSourceCache.cs
- UserUseLicenseDictionaryLoader.cs
- TextRunCache.cs
- DocumentPageTextView.cs
- XPathScanner.cs
- SafeThreadHandle.cs
- PageContentCollection.cs
- PerformanceCounterLib.cs
- RequiredAttributeAttribute.cs
- Button.cs
- BindingCompleteEventArgs.cs
- StateDesigner.TransitionInfo.cs
- TextTreeRootTextBlock.cs
- TryLoadRunnableWorkflowCommand.cs
- DrawingContextWalker.cs
- UserControlCodeDomTreeGenerator.cs
- MemberMaps.cs
- ColorTransformHelper.cs
- HashCodeCombiner.cs
- WindowsTreeView.cs