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
- DbXmlEnabledProviderManifest.cs
- DropAnimation.xaml.cs
- ConfigurationPropertyCollection.cs
- DataGridLinkButton.cs
- DragDeltaEventArgs.cs
- SecurityTokenSerializer.cs
- Query.cs
- DataRecord.cs
- DataRowView.cs
- IriParsingElement.cs
- WebPartConnectionCollection.cs
- BindingExpression.cs
- HttpResponseMessageProperty.cs
- KeyEvent.cs
- ExceptionRoutedEventArgs.cs
- ToolTipAutomationPeer.cs
- Queue.cs
- HostingMessageProperty.cs
- EntityTransaction.cs
- SystemGatewayIPAddressInformation.cs
- HtmlTernaryTree.cs
- BitmapDownload.cs
- CheckBoxAutomationPeer.cs
- KeyPressEvent.cs
- ObjectItemAssemblyLoader.cs
- DBSqlParserTableCollection.cs
- ObjectDesignerDataSourceView.cs
- SimpleRecyclingCache.cs
- OptimizedTemplateContentHelper.cs
- DataGridHeaderBorder.cs
- X509ChainPolicy.cs
- PageRequestManager.cs
- InstanceDataCollection.cs
- InvalidWorkflowException.cs
- coordinator.cs
- ImageFormatConverter.cs
- WebPartEditorOkVerb.cs
- DataDocumentXPathNavigator.cs
- Transform.cs
- UiaCoreApi.cs
- ThicknessConverter.cs
- XsltSettings.cs
- XamlVector3DCollectionSerializer.cs
- GeometryModel3D.cs
- COM2PropertyDescriptor.cs
- XpsFilter.cs
- IdentityHolder.cs
- TraceSwitch.cs
- _NativeSSPI.cs
- XMLSyntaxException.cs
- MediaTimeline.cs
- NetworkInformationPermission.cs
- WeakHashtable.cs
- UriScheme.cs
- __FastResourceComparer.cs
- AnnotationResourceCollection.cs
- DynamicDiscoveryDocument.cs
- SqlErrorCollection.cs
- CompilerGeneratedAttribute.cs
- InputGestureCollection.cs
- Selection.cs
- SafeNativeMethods.cs
- XmlSerializableWriter.cs
- SafeCoTaskMem.cs
- ScriptHandlerFactory.cs
- AbandonedMutexException.cs
- ProtocolsConfigurationEntry.cs
- HtmlTernaryTree.cs
- CanonicalFormWriter.cs
- TripleDESCryptoServiceProvider.cs
- DataFormats.cs
- StatusBarPanelClickEvent.cs
- WebPartDisplayModeCollection.cs
- ProfileServiceManager.cs
- HandlerFactoryWrapper.cs
- FormViewUpdatedEventArgs.cs
- BamlLocalizableResource.cs
- CapabilitiesAssignment.cs
- PrintDialogException.cs
- Vector3DCollection.cs
- invalidudtexception.cs
- HashHelper.cs
- EventHandlersDesigner.cs
- TextTreeInsertElementUndoUnit.cs
- AssertFilter.cs
- Ray3DHitTestResult.cs
- XmlTextReaderImplHelpers.cs
- AxisAngleRotation3D.cs
- GeneratedContractType.cs
- _AuthenticationState.cs
- WebReferencesBuildProvider.cs
- ProfessionalColors.cs
- ComponentCommands.cs
- Visual3D.cs
- Vector.cs
- PhoneCallDesigner.cs
- ListViewItemSelectionChangedEvent.cs
- TimeoutConverter.cs
- ColorConvertedBitmap.cs
- XPathException.cs