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
- TrustLevel.cs
- BindableTemplateBuilder.cs
- MenuCommands.cs
- Encoder.cs
- NativeRecognizer.cs
- XmlSchemaSimpleTypeList.cs
- XmlComplianceUtil.cs
- DispatcherOperation.cs
- QueryResponse.cs
- BindingOperations.cs
- MruCache.cs
- GenericWebPart.cs
- JsonGlobals.cs
- ObjectItemLoadingSessionData.cs
- HostExecutionContextManager.cs
- coordinatorfactory.cs
- XmlWriter.cs
- FontResourceCache.cs
- NamespaceInfo.cs
- _SslState.cs
- TextOutput.cs
- Converter.cs
- EpmCustomContentWriterNodeData.cs
- mda.cs
- RawTextInputReport.cs
- FloaterBaseParaClient.cs
- RestHandler.cs
- StringHandle.cs
- OuterGlowBitmapEffect.cs
- CryptoHelper.cs
- WorkflowServiceHostFactory.cs
- SchemaTableOptionalColumn.cs
- PackageDigitalSignature.cs
- DataGridViewImageColumn.cs
- StateMachineWorkflowDesigner.cs
- ArgumentNullException.cs
- LinkedList.cs
- ItemsPresenter.cs
- CursorConverter.cs
- Rights.cs
- WindowsIPAddress.cs
- OracleConnection.cs
- FontFaceLayoutInfo.cs
- Ppl.cs
- COM2ExtendedUITypeEditor.cs
- Ray3DHitTestResult.cs
- DataGridViewColumnHeaderCell.cs
- EncodingNLS.cs
- StorageTypeMapping.cs
- WebServiceClientProxyGenerator.cs
- CodeDelegateCreateExpression.cs
- SoapProcessingBehavior.cs
- MemberDescriptor.cs
- FileDialog_Vista.cs
- SafeNativeMethods.cs
- HorizontalAlignConverter.cs
- TypefaceMetricsCache.cs
- CustomCategoryAttribute.cs
- PropertyDescriptorCollection.cs
- ToolStripControlHost.cs
- DependencyPropertyKind.cs
- OledbConnectionStringbuilder.cs
- CookieProtection.cs
- CryptoStream.cs
- _StreamFramer.cs
- XPathSingletonIterator.cs
- SystemFonts.cs
- _HTTPDateParse.cs
- ConditionValidator.cs
- DispatcherEventArgs.cs
- mda.cs
- ListControl.cs
- Double.cs
- GPPOINT.cs
- SmiEventSink.cs
- ThreadBehavior.cs
- DbConnectionPoolGroupProviderInfo.cs
- Brushes.cs
- SQLString.cs
- HttpProfileGroupBase.cs
- OperationCanceledException.cs
- TrailingSpaceComparer.cs
- DesignerAttribute.cs
- DecoderExceptionFallback.cs
- FunctionUpdateCommand.cs
- HTTPNotFoundHandler.cs
- ProfilePropertyNameValidator.cs
- SpecularMaterial.cs
- BasicHttpSecurityElement.cs
- DataKey.cs
- DefaultPrintController.cs
- EventLogger.cs
- DataGridViewDataErrorEventArgs.cs
- MimeMultiPart.cs
- FixedBufferAttribute.cs
- ToolStripItemImageRenderEventArgs.cs
- DataGridViewRowPrePaintEventArgs.cs
- DataContext.cs
- XmlAttributes.cs
- GeometryModel3D.cs