Share via


ExtensionMethods.FilterByName Method

Definition

Checks whether all operations have the same return type

public static System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.IEdmOperation> FilterByName (this System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.IEdmOperation> operations, bool forceFullyQualifiedNameFilter, string operationName);
static member FilterByName : seq<Microsoft.OData.Edm.IEdmOperation> * bool * string -> seq<Microsoft.OData.Edm.IEdmOperation>
<Extension()>
Public Function FilterByName (operations As IEnumerable(Of IEdmOperation), forceFullyQualifiedNameFilter As Boolean, operationName As String) As IEnumerable(Of IEdmOperation)

Parameters

operations
IEnumerable<IEdmOperation>

the list to check

forceFullyQualifiedNameFilter
Boolean

Ensures that the Where filter clause applies the Full name,

operationName
String

The operation name to filter by.

Returns

true if the list of operation imports all have the same return type

Applies to