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
- XmlEntity.cs
- InternalConfigSettingsFactory.cs
- FragmentNavigationEventArgs.cs
- XamlRtfConverter.cs
- CultureInfo.cs
- SharedPersonalizationStateInfo.cs
- ExpressionBinding.cs
- DelegateTypeInfo.cs
- SymDocumentType.cs
- XamlToRtfWriter.cs
- VisualBasic.cs
- WindowsMenu.cs
- TransformCollection.cs
- SchemaImporterExtension.cs
- CultureInfoConverter.cs
- IDQuery.cs
- AutoCompleteStringCollection.cs
- DateTimeOffsetAdapter.cs
- TrackingStringDictionary.cs
- EtwTrace.cs
- LogStore.cs
- Dispatcher.cs
- XmlCountingReader.cs
- SR.cs
- EngineSiteSapi.cs
- DBNull.cs
- DataSourceSelectArguments.cs
- CSharpCodeProvider.cs
- TabControlAutomationPeer.cs
- ExtractCollection.cs
- FloaterParagraph.cs
- UDPClient.cs
- HostingEnvironment.cs
- CompositeKey.cs
- WorkItem.cs
- ClientApiGenerator.cs
- SQLDateTimeStorage.cs
- ListBoxItemAutomationPeer.cs
- XmlTypeMapping.cs
- UniqueIdentifierService.cs
- _NativeSSPI.cs
- CollectionBuilder.cs
- SerializationSectionGroup.cs
- DataGridViewSortCompareEventArgs.cs
- RuntimeCompatibilityAttribute.cs
- ContentOperations.cs
- WebScriptMetadataMessageEncoderFactory.cs
- HostingEnvironment.cs
- FormCollection.cs
- ChannelServices.cs
- LocalizationComments.cs
- XmlSchemaInclude.cs
- HttpHandlerActionCollection.cs
- SafePEFileHandle.cs
- SqlXml.cs
- ValueChangedEventManager.cs
- ClientSponsor.cs
- COAUTHINFO.cs
- AncestorChangedEventArgs.cs
- CustomCategoryAttribute.cs
- MimeBasePart.cs
- TemplateNameScope.cs
- XsdDuration.cs
- HyperLinkStyle.cs
- ActiveDocumentEvent.cs
- HttpModuleCollection.cs
- CodeLinePragma.cs
- Soap12FormatExtensions.cs
- TrustLevel.cs
- IndexingContentUnit.cs
- StrokeRenderer.cs
- QueryContinueDragEvent.cs
- ParsedAttributeCollection.cs
- AppSettingsExpressionEditor.cs
- LineServices.cs
- ReversePositionQuery.cs
- ObjectRef.cs
- BinaryMethodMessage.cs
- SimpleWebHandlerParser.cs
- ServiceParser.cs
- Encoding.cs
- MetadataWorkspace.cs
- SQLDouble.cs
- CodeDelegateCreateExpression.cs
- EditCommandColumn.cs
- SqlServer2KCompatibilityAnnotation.cs
- StringExpressionSet.cs
- DllNotFoundException.cs
- ListBoxAutomationPeer.cs
- SqlEnums.cs
- InputLanguage.cs
- DbFunctionCommandTree.cs
- FormViewDeletedEventArgs.cs
- smtppermission.cs
- SqlStatistics.cs
- ReadWriteControlDesigner.cs
- OletxDependentTransaction.cs
- CachedResourceDictionaryExtension.cs
- MetadataResolver.cs
- FormsAuthenticationUser.cs