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
- StreamingContext.cs
- ContainerParaClient.cs
- RootBrowserWindowAutomationPeer.cs
- FileUtil.cs
- UnicodeEncoding.cs
- DataGridViewRowsRemovedEventArgs.cs
- BamlLocalizer.cs
- PenThreadPool.cs
- SecurityCapabilities.cs
- ComponentEvent.cs
- DataSvcMapFileSerializer.cs
- Cursor.cs
- AQNBuilder.cs
- DataBindingExpressionBuilder.cs
- SchemaCreator.cs
- arclist.cs
- NotifyParentPropertyAttribute.cs
- PathStreamGeometryContext.cs
- UnsignedPublishLicense.cs
- Axis.cs
- MouseDevice.cs
- MultipartIdentifier.cs
- HtmlFormParameterReader.cs
- ConfigurationSectionGroup.cs
- ProtocolsConfigurationEntry.cs
- SelectionList.cs
- Line.cs
- SmiGettersStream.cs
- TableLayoutSettingsTypeConverter.cs
- FormViewDeleteEventArgs.cs
- MarshalByRefObject.cs
- ListViewItem.cs
- TrackingMemoryStream.cs
- ConstrainedDataObject.cs
- InstanceHandleReference.cs
- RequestQueue.cs
- OleDbCommandBuilder.cs
- ToolStripItemClickedEventArgs.cs
- Substitution.cs
- XmlParser.cs
- PeerInvitationResponse.cs
- ProcessThread.cs
- _SslState.cs
- SafeSecurityHelper.cs
- SymbolPair.cs
- XmlDataSourceView.cs
- BamlTreeNode.cs
- ConfigurationCollectionAttribute.cs
- IItemProperties.cs
- SerializationEventsCache.cs
- BamlRecordReader.cs
- ResourceAssociationSetEnd.cs
- DBSqlParserColumnCollection.cs
- FontCacheLogic.cs
- EventData.cs
- BindingExpressionBase.cs
- TcpClientChannel.cs
- ElapsedEventArgs.cs
- GacUtil.cs
- HwndMouseInputProvider.cs
- SafeArchiveContext.cs
- CustomSignedXml.cs
- RequestResizeEvent.cs
- BrowserCapabilitiesCodeGenerator.cs
- WindowsFormsHost.cs
- ProfileSettings.cs
- RegistryDataKey.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- ResourceWriter.cs
- Clock.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- RewritingPass.cs
- XmlSchemaSet.cs
- Exceptions.cs
- Process.cs
- PanelDesigner.cs
- DocumentSequenceHighlightLayer.cs
- DataErrorValidationRule.cs
- ClientProtocol.cs
- PassportAuthenticationModule.cs
- XamlFigureLengthSerializer.cs
- XmlWrappingWriter.cs
- PrivilegeNotHeldException.cs
- CoTaskMemHandle.cs
- XmlValidatingReader.cs
- FactoryMaker.cs
- State.cs
- TransformerInfo.cs
- LineGeometry.cs
- RadioButtonAutomationPeer.cs
- ColumnTypeConverter.cs
- DataBindingCollection.cs
- DescendantBaseQuery.cs
- SerializationException.cs
- SqlConnectionFactory.cs
- SelectorAutomationPeer.cs
- GenericTypeParameterBuilder.cs
- XmlSchemaAnnotated.cs
- ResourceExpression.cs
- TraceSwitch.cs