src/Shared/EntityFramework/Core/Metadata/Edm/ItemCollection.cs
/// <summary>Returns all the overloads of the functions by using the specified name from this item collection.</summary>
/// <returns>A collection of type ReadOnlyCollection that contains all the functions that have the specified name.</returns>
/// <param name="functionCollection">A dictionary of functions.</param>
/// <param name="functionName">The full name of the function.</param>
/// <param name="ignoreCase">true to perform the case-insensitive search; otherwise, false.</param>
Returns all the overloads of the functions by using the specified name from this item collection.
Returns all the overloads of the functions by using the specified name from this item collection .
[SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
        protected static ReadOnlyCollection<EdmFunction> GetFunctions(
            Dictionary<string, ReadOnlyCollection<EdmFunction>> functionCollection,
            string functionName, bool ignoreCase)
        {
            ReadOnlyCollection<EdmFunction> functionOverloads;
            if (functionCollection.TryGetValue(functionName, out functionOverloads))
            {
                if (ignoreCase)
                {
                    return functionOverloads;
                }
                return GetCaseSensitiveFunctions(functionOverloads, functionName);
            }
            return Helper.EmptyEdmFunctionReadOnlyCollection;
        }
[ SuppressMessage ( " " , " " ) ] protected static ReadOnlyCollection < EdmFunction > GetFunctions ( Dictionary < string , ReadOnlyCollection < EdmFunction > > functionCollection , string functionName , bool ignoreCase ) { ReadOnlyCollection < EdmFunction > functionOverloads ; if ( functionCollection . TryGetValue ( functionName , out functionOverloads ) ) { if ( ignoreCase ) { return functionOverloads ; } return GetCaseSensitiveFunctions ( functionOverloads , functionName ) ; } return Helper . EmptyEdmFunctionReadOnlyCollection ; }
Returns all the overloads of the functions by using the specified name from this item collection.
Returns all the overloads of the functions by using the specified name from this item collection .
A collection of type ReadOnlyCollection that contains all the functions that have the specified name.
A collection of type ReadOnlyCollection that contains all the functions that have the specified name .
functionCollection
Dictionary<string, ReadOnlyCollection<EdmFunction>>
A dictionary of functions.
A dictionary of functions .
functionName
string
The full name of the function.
The full name of the function .
ignoreCase
bool
true to perform the case-insensitive search; otherwise, false.
true to perform the case - insensitive search ; otherwise false .