src/Microsoft.PowerShell.Workflow.ServiceCore/ServiceCore/WorkflowCore/TimeBasedCache.cs
/// <summary>
/// Advances the enumerator to the next element of the collection.
/// </summary>
/// <returns>
/// true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
/// </returns>
/// <exception cref="T:System.InvalidOperationException">The collection was modified after the enumerator was created. </exception><filterpriority>2</filterpriority>
Advances the enumerator to the next element of the collection.
Advances the enumerator to the next element of the collection .
public bool MoveNext()
            {
                if (_dictionaryEnumerator.MoveNext())
                {
                    Guid key = (Guid)_dictionaryEnumerator.Current;
                    _currentItem = default(Item<T>);
                    _cache.TryGetValue(key, out _currentItem);
                    if (_currentItem != null)
                        return true;
                }
                return false;
            }
public bool MoveNext ( ) { if ( _dictionaryEnumerator . MoveNext ( ) ) { Guid key = ( Guid ) _dictionaryEnumerator . Current ; _currentItem = default ( Item < T > ) ; _cache . TryGetValue ( key , out _currentItem ) ; if ( _currentItem != null ) return true ; } return false ; }
Advances the enumerator to the next element of the collection.
Advances the enumerator to the next element of the collection .
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
true if the enumerator was successfully advanced to the next element ; false if the enumerator has passed the end of the collection .
The collection was modified after the enumerator was created.
The collection was modified after the enumerator was created .
filterpriority
None