src/Shared/EntityFramework/Core/Mapping/ViewGeneration/Structures/MemberProjectedSlot.cs
// <summary>
// Searches for <paramref name="member" /> in <paramref name="slots" /> and returns the corresponding slot. If none is found, returns null.
// </summary>
Searches for  in  and returns the corresponding slot. If none is found, returns null.
Searches for in and returns the corresponding slot . If none is found returns null .
internal static MemberProjectedSlot GetSlotForMember(IEnumerable<ProjectedSlot> slots, MemberPath member)
        {
            foreach (MemberProjectedSlot slot in slots)
            {
                if (MemberPath.EqualityComparer.Equals(slot.MemberPath, member))
                {
                    return slot;
                }
            }
            return null;
        }
internal static MemberProjectedSlot GetSlotForMember ( IEnumerable < ProjectedSlot > slots , MemberPath member ) { foreach ( MemberProjectedSlot slot in slots ) { if ( MemberPath . EqualityComparer . Equals ( slot . MemberPath , member ) ) { return slot ; } } return null ; }
Searches for  in  and returns the corresponding slot.
Searches for in and returns the corresponding slot .
slots
IEnumerable<ProjectedSlot>
member
MemberPath