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
- WsatConfiguration.cs
- securitycriticaldataClass.cs
- Int32Animation.cs
- CommandSet.cs
- SessionStateModule.cs
- MarginCollapsingState.cs
- SystemUnicastIPAddressInformation.cs
- FieldDescriptor.cs
- ClientUtils.cs
- DynamicResourceExtensionConverter.cs
- Serializer.cs
- DateTimeOffset.cs
- Journaling.cs
- InputMethodStateChangeEventArgs.cs
- SafeNativeMemoryHandle.cs
- Delay.cs
- FieldBuilder.cs
- UriExt.cs
- X509CertificateValidator.cs
- SmtpFailedRecipientException.cs
- Rules.cs
- SecurityElement.cs
- SamlConstants.cs
- NameObjectCollectionBase.cs
- WriteTimeStream.cs
- RadioButtonRenderer.cs
- VirtualizingPanel.cs
- OdbcConnection.cs
- ControlAdapter.cs
- TableItemPattern.cs
- SoapSchemaExporter.cs
- GeneralTransform3D.cs
- ArrayWithOffset.cs
- TripleDES.cs
- XmlTextAttribute.cs
- X509Certificate2.cs
- DataServiceClientException.cs
- ConsoleTraceListener.cs
- RepeatInfo.cs
- MessageEncoderFactory.cs
- DataGridViewSelectedRowCollection.cs
- HwndProxyElementProvider.cs
- WebFormsRootDesigner.cs
- DependencyProperty.cs
- DynamicHyperLink.cs
- ProfileBuildProvider.cs
- ConstructorBuilder.cs
- ManagedWndProcTracker.cs
- SendMessageContent.cs
- InlinedLocationReference.cs
- RegionIterator.cs
- ReachIDocumentPaginatorSerializer.cs
- CommandManager.cs
- WorkerRequest.cs
- RootProfilePropertySettingsCollection.cs
- UpdateManifestForBrowserApplication.cs
- ArrayExtension.cs
- UserControlAutomationPeer.cs
- OleDbPropertySetGuid.cs
- SHA1Managed.cs
- GB18030Encoding.cs
- InstallerTypeAttribute.cs
- Matrix3DStack.cs
- OletxTransactionHeader.cs
- ResourceDisplayNameAttribute.cs
- Size3DConverter.cs
- ColumnResult.cs
- InstanceKeyView.cs
- PropertyValue.cs
- Authorization.cs
- MultiAsyncResult.cs
- DependencyPropertyKey.cs
- ProviderCommandInfoUtils.cs
- Pool.cs
- SqlNodeAnnotations.cs
- EdmToObjectNamespaceMap.cs
- XmlSchemaType.cs
- HighlightComponent.cs
- Array.cs
- BitmapFrameEncode.cs
- DBBindings.cs
- Buffer.cs
- ReachIDocumentPaginatorSerializerAsync.cs
- SqlBulkCopy.cs
- GridItemCollection.cs
- TrackingRecord.cs
- BoundPropertyEntry.cs
- ObjectHandle.cs
- AddInActivator.cs
- TableParaClient.cs
- SchemaName.cs
- ConfigXmlText.cs
- MemoryFailPoint.cs
- DispatchWrapper.cs
- QilCloneVisitor.cs
- SplayTreeNode.cs
- LOSFormatter.cs
- KeyedCollection.cs
- UrlPropertyAttribute.cs
- ProxyGenerationError.cs