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
- WinFormsComponentEditor.cs
- AssemblyBuilder.cs
- Rule.cs
- StreamWriter.cs
- XDRSchema.cs
- PagedDataSource.cs
- StringHandle.cs
- BinaryConverter.cs
- SqlDataSourceConfigureSelectPanel.cs
- WmlTextBoxAdapter.cs
- EntitySqlQueryCacheKey.cs
- CqlLexer.cs
- DataGridCommandEventArgs.cs
- MarginsConverter.cs
- XmlReader.cs
- UIElementIsland.cs
- PolygonHotSpot.cs
- IisTraceListener.cs
- ConstraintStruct.cs
- TimeZoneInfo.cs
- TreeView.cs
- DataKey.cs
- ModelServiceImpl.cs
- XPathNavigatorKeyComparer.cs
- BulletChrome.cs
- MSHTMLHostUtil.cs
- CodeConditionStatement.cs
- PersianCalendar.cs
- XmlNodeWriter.cs
- VisualStyleElement.cs
- TypeConvertions.cs
- DoubleLinkListEnumerator.cs
- SerTrace.cs
- ParserStreamGeometryContext.cs
- MobileControlDesigner.cs
- IOException.cs
- CacheDict.cs
- QilFactory.cs
- EmptyEnumerator.cs
- DoubleAnimationUsingPath.cs
- NameTable.cs
- CodeTypeMember.cs
- HttpCachePolicy.cs
- CellParagraph.cs
- SelectionWordBreaker.cs
- HistoryEventArgs.cs
- BamlMapTable.cs
- AccessControlEntry.cs
- RowToParametersTransformer.cs
- Vector3DKeyFrameCollection.cs
- SolidBrush.cs
- ClientBuildManager.cs
- HelloOperationCD1AsyncResult.cs
- EnumMemberAttribute.cs
- safex509handles.cs
- SiteMapNodeCollection.cs
- PerformanceCounterLib.cs
- EndPoint.cs
- TrimSurroundingWhitespaceAttribute.cs
- PerformanceCounterPermission.cs
- TargetException.cs
- Mouse.cs
- SqlDataSourceSelectingEventArgs.cs
- HtmlPageAdapter.cs
- HttpSessionStateBase.cs
- BuilderElements.cs
- UIntPtr.cs
- FontNamesConverter.cs
- FontFamilyValueSerializer.cs
- GACMembershipCondition.cs
- Run.cs
- FamilyMap.cs
- BitmapEffectInput.cs
- InternalResources.cs
- ActivityScheduledQuery.cs
- GestureRecognitionResult.cs
- ProviderConnectionPoint.cs
- ParentQuery.cs
- DataGridViewLinkCell.cs
- ObfuscationAttribute.cs
- RecordBuilder.cs
- ChangeDirector.cs
- ActivityDesigner.cs
- ChtmlMobileTextWriter.cs
- ReliabilityContractAttribute.cs
- PropertyEmitter.cs
- TextRunCache.cs
- InputScopeNameConverter.cs
- TransformCryptoHandle.cs
- SettingsSection.cs
- SuppressMessageAttribute.cs
- MimeReflector.cs
- ScriptIgnoreAttribute.cs
- WindowsAuthenticationEventArgs.cs
- Geometry.cs
- log.cs
- PagerStyle.cs
- DynamicDocumentPaginator.cs
- WebPartMenuStyle.cs
- XmlTextAttribute.cs