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
- Interop.cs
- CodeSubDirectoriesCollection.cs
- CheckBoxBaseAdapter.cs
- CopyOnWriteList.cs
- SourceFilter.cs
- IntranetCredentialPolicy.cs
- WebResourceAttribute.cs
- ListDesigner.cs
- AuthStoreRoleProvider.cs
- VectorCollectionConverter.cs
- ModulesEntry.cs
- ResourceIDHelper.cs
- DeclaredTypeValidatorAttribute.cs
- TemplateControlBuildProvider.cs
- SqlSelectStatement.cs
- RoutedUICommand.cs
- TransactionFlowOption.cs
- DeviceFilterEditorDialog.cs
- XmlText.cs
- SqlServices.cs
- CodeSnippetCompileUnit.cs
- TextBoxDesigner.cs
- Graph.cs
- DownloadProgressEventArgs.cs
- ReturnEventArgs.cs
- HandlerFactoryWrapper.cs
- DataGrid.cs
- HttpPostedFileWrapper.cs
- Hex.cs
- DbFunctionCommandTree.cs
- DesignerActionUI.cs
- ValueUnavailableException.cs
- SmiEventSink_Default.cs
- SendSecurityHeader.cs
- DocumentXmlWriter.cs
- BitmapPalette.cs
- GlobalizationAssembly.cs
- WebPart.cs
- EarlyBoundInfo.cs
- ExeConfigurationFileMap.cs
- StringStorage.cs
- FixedSOMLineRanges.cs
- ApplicationSettingsBase.cs
- IsolatedStoragePermission.cs
- _HTTPDateParse.cs
- WebEventCodes.cs
- SpecialNameAttribute.cs
- ExtendedPropertyCollection.cs
- DashStyle.cs
- GeometryGroup.cs
- WebHttpBindingCollectionElement.cs
- ElementMarkupObject.cs
- RichTextBoxAutomationPeer.cs
- CodeStatement.cs
- BrowserDefinitionCollection.cs
- DataProtection.cs
- HandlerWithFactory.cs
- SubpageParagraph.cs
- DataBindEngine.cs
- _TLSstream.cs
- MarkerProperties.cs
- TransportBindingElement.cs
- SafeRightsManagementSessionHandle.cs
- ConditionCollection.cs
- Context.cs
- PresentationTraceSources.cs
- EventLogPermissionAttribute.cs
- ProvideValueServiceProvider.cs
- SwitchAttribute.cs
- PropertyIdentifier.cs
- DataControlExtensions.cs
- VarInfo.cs
- Rectangle.cs
- QilFactory.cs
- TextElementEditingBehaviorAttribute.cs
- VisualTarget.cs
- InsufficientMemoryException.cs
- DataComponentMethodGenerator.cs
- BitmapData.cs
- LineBreakRecord.cs
- DataBoundControlHelper.cs
- CodeAttachEventStatement.cs
- DataGridViewCellStyleEditor.cs
- OleDbConnectionFactory.cs
- RightsManagementSuppressedStream.cs
- TemplateXamlParser.cs
- KerberosTicketHashIdentifierClause.cs
- querybuilder.cs
- AddingNewEventArgs.cs
- SqlDataSourceQueryEditor.cs
- EmissiveMaterial.cs
- ImageResources.Designer.cs
- NamedPermissionSet.cs
- LinkedList.cs
- WebColorConverter.cs
- RuntimeHandles.cs
- ConfigurationPropertyCollection.cs
- WorkflowMarkupElementEventArgs.cs
- CallTemplateAction.cs
- EncryptedReference.cs