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
- ComponentEditorPage.cs
- ResourceBinder.cs
- WebPartAuthorizationEventArgs.cs
- PageTheme.cs
- WindowsGraphicsWrapper.cs
- ReversePositionQuery.cs
- CacheVirtualItemsEvent.cs
- XmlSchemaInferenceException.cs
- WebPartMovingEventArgs.cs
- WebPartCollection.cs
- SAPICategories.cs
- FieldBuilder.cs
- TableHeaderCell.cs
- ImageMap.cs
- ProfileSettingsCollection.cs
- Misc.cs
- Table.cs
- BevelBitmapEffect.cs
- TemplateXamlTreeBuilder.cs
- BaseCodePageEncoding.cs
- TemplateBamlRecordReader.cs
- Matrix3DConverter.cs
- WsdlHelpGeneratorElement.cs
- SoapFormatterSinks.cs
- MachineSettingsSection.cs
- CustomErrorCollection.cs
- controlskin.cs
- MailMessageEventArgs.cs
- RangeValuePattern.cs
- XPathDocumentNavigator.cs
- CommunicationObjectFaultedException.cs
- UpDownBase.cs
- EntitySqlQueryBuilder.cs
- PropertyItem.cs
- Transform.cs
- AlternateViewCollection.cs
- SAPICategories.cs
- FormatSelectingMessageInspector.cs
- ValidationHelpers.cs
- DynamicDiscoveryDocument.cs
- ApplicationManager.cs
- GenerateDerivedKeyRequest.cs
- HitTestFilterBehavior.cs
- WebPartCollection.cs
- FreezableCollection.cs
- SerializationStore.cs
- HtmlTextArea.cs
- DefaultSerializationProviderAttribute.cs
- RegexGroupCollection.cs
- TextDataBindingHandler.cs
- LiteralTextContainerControlBuilder.cs
- BrowserCapabilitiesFactory.cs
- SpnegoTokenAuthenticator.cs
- METAHEADER.cs
- SecurityMessageProperty.cs
- TypeSource.cs
- NativeWindow.cs
- XmlNodeList.cs
- GenericUriParser.cs
- XamlGridLengthSerializer.cs
- ExpressionPrefixAttribute.cs
- InvalidCastException.cs
- RawTextInputReport.cs
- RouteUrlExpressionBuilder.cs
- XmlSchemaGroupRef.cs
- Executor.cs
- GenericUriParser.cs
- FormatConvertedBitmap.cs
- ModelUIElement3D.cs
- PointHitTestResult.cs
- CannotUnloadAppDomainException.cs
- ResourceManagerWrapper.cs
- SettingsPropertyValue.cs
- DivideByZeroException.cs
- ConnectionStringSettings.cs
- UniformGrid.cs
- HtmlElementEventArgs.cs
- ManagedCodeMarkers.cs
- DesignUtil.cs
- QueryExecutionOption.cs
- XmlSchemaSubstitutionGroup.cs
- TemplateAction.cs
- PersonalizableTypeEntry.cs
- XmlDocumentSchema.cs
- ServiceContractGenerator.cs
- VisualBasicImportReference.cs
- OleDbReferenceCollection.cs
- __FastResourceComparer.cs
- LocatorPart.cs
- NonVisualControlAttribute.cs
- FlowNode.cs
- SafeEventLogReadHandle.cs
- ViewBase.cs
- GridLength.cs
- MergePropertyDescriptor.cs
- DesignerHelpers.cs
- BitmapSizeOptions.cs
- ByeOperationAsyncResult.cs
- TransactionsSectionGroup.cs
- EmptyImpersonationContext.cs