src/Shared/EntityFramework/Core/Common/EntitySql/ScopeRegion.cs
// <summary>
// Applies <paramref name="action" /> to all scope entries in the current scope region.
// </summary>
Applies  to all scope entries in the current scope region.
Applies to all scope entries in the current scope region .
internal void ApplyToScopeEntries(Action<ScopeEntry> action)
        {
            Debug.Assert(FirstScopeIndex <= _scopeManager.CurrentScopeIndex, "FirstScopeIndex <= CurrentScopeIndex");
            for (var i = FirstScopeIndex; i <= _scopeManager.CurrentScopeIndex; ++i)
            {
                foreach (var scopeEntry in _scopeManager.GetScopeByIndex(i))
                {
                    action(scopeEntry.Value);
                }
            }
        }
internal void ApplyToScopeEntries ( Action < ScopeEntry > action ) { Debug . Assert ( FirstScopeIndex <= _scopeManager . CurrentScopeIndex , " " ) ; for ( var i = FirstScopeIndex ; i <= _scopeManager . CurrentScopeIndex ; ++ i ) { foreach ( var scopeEntry in _scopeManager . GetScopeByIndex ( i ) ) { action ( scopeEntry . Value ) ; } } }
Applies  to all scope entries in the current scope region.
Applies to all scope entries in the current scope region .
action
Action<ScopeEntry>