Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Util / DoubleLinkListEnumerator.cs / 1305376 / DoubleLinkListEnumerator.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * DoubleLinkList * * Copyright (c) 1998-1999, Microsoft Corporation * */ namespace System.Web.Util { using System.Runtime.Serialization.Formatters; using System.Collections; internal class DoubleLinkListEnumerator : IEnumerator { private DoubleLinkList _list; private DoubleLink _current; internal DoubleLinkListEnumerator(DoubleLinkList list) { _list = list; _current = list; } public void Reset() { _current = _list; } public bool MoveNext() { if (_current.Next == _list) { _current = null; return false; } _current = _current.Next; return true; } public Object Current { get { if (_current == null || _current == _list) throw new InvalidOperationException(); return _current.Item; } } internal DoubleLink GetDoubleLink() { return _current; } } } // 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
- ContentPropertyAttribute.cs
- CheckPair.cs
- StyleTypedPropertyAttribute.cs
- WorkflowServiceHost.cs
- HttpCachePolicyElement.cs
- DataGridViewCellStateChangedEventArgs.cs
- ToolStripGripRenderEventArgs.cs
- ExpressionParser.cs
- ValueUtilsSmi.cs
- RegionIterator.cs
- MimeMultiPart.cs
- RoutingChannelExtension.cs
- FunctionImportMapping.cs
- AttributeAction.cs
- NameNode.cs
- EffectiveValueEntry.cs
- CheckoutException.cs
- PrinterSettings.cs
- CharEnumerator.cs
- ImmutableClientRuntime.cs
- ActivityExecutor.cs
- Vector3DAnimation.cs
- WebPartZoneCollection.cs
- ScalarOps.cs
- ResourceContainer.cs
- CodeTypeReference.cs
- SystemWebCachingSectionGroup.cs
- SudsCommon.cs
- InheritanceService.cs
- PeerToPeerException.cs
- OleDbDataReader.cs
- TimeManager.cs
- PrePostDescendentsWalker.cs
- WindowsGraphics2.cs
- ArrayListCollectionBase.cs
- ClockGroup.cs
- OdbcEnvironmentHandle.cs
- VirtualPathProvider.cs
- ExtentCqlBlock.cs
- CustomDictionarySources.cs
- Duration.cs
- SoapSchemaImporter.cs
- errorpatternmatcher.cs
- PeerApplication.cs
- WebRequest.cs
- SchemaLookupTable.cs
- MediaTimeline.cs
- JournalEntryStack.cs
- LocationFactory.cs
- DeviceContexts.cs
- WorkflowApplicationUnhandledExceptionEventArgs.cs
- ValidatorUtils.cs
- BufferedGraphicsContext.cs
- MenuBase.cs
- FacetDescriptionElement.cs
- ExpressionBinding.cs
- HighContrastHelper.cs
- __ComObject.cs
- AffineTransform3D.cs
- PackUriHelper.cs
- RawStylusInputCustomData.cs
- RIPEMD160Managed.cs
- Button.cs
- ThreadPool.cs
- SiteMapSection.cs
- CategoryNameCollection.cs
- DirectoryObjectSecurity.cs
- Invariant.cs
- Validator.cs
- newinstructionaction.cs
- ProcessHostConfigUtils.cs
- XmlComplianceUtil.cs
- XmlCDATASection.cs
- HtmlGenericControl.cs
- ThemeDictionaryExtension.cs
- DocumentSequenceHighlightLayer.cs
- TransformerConfigurationWizardBase.cs
- Rights.cs
- SoapAttributes.cs
- ToolStripInSituService.cs
- Comparer.cs
- IsolatedStorage.cs
- BuildProvidersCompiler.cs
- CollectionContainer.cs
- TemplateXamlTreeBuilder.cs
- BuildProvider.cs
- WindowsGraphics2.cs
- TrustSection.cs
- AbsoluteQuery.cs
- SecurityContext.cs
- TransformerInfo.cs
- XLinq.cs
- MetadataAssemblyHelper.cs
- SecUtil.cs
- TextMarkerSource.cs
- SQLBinaryStorage.cs
- DataGridPreparingCellForEditEventArgs.cs
- mactripleDES.cs
- StreamInfo.cs
- KeyInterop.cs