Method Keep

Keep(params MemberType[])

Creates a new filter that will keep the given values (and filter out the rest)

Declaration
public static ILineElementTypeFilter Keep(params MemberType[] values)
Parameters
Type Name Description
MemberType[] values

The values to keep

Returns
Type Description
ILineElementTypeFilter

A new entity type filter

Keep(Func<MemberType, bool>)

Creates a new filter that will keep the given values (and filter out the rest)

Declaration
public static ILineElementTypeFilter Keep(Func<MemberType, bool> predicate)
Parameters
Type Name Description
Func<MemberType, bool> predicate

The function to obtain the included (resp. excluded) values

Returns
Type Description
ILineElementTypeFilter

A new entity type filter

Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.
Previous
Next