C-DEngine 5.105

TheThingRegistry..::..HasThingsWithFunc Method

Checks if TheThingRegistry has at least one TheThing that fits the pSelector function

Namespace:  nsCDEngine.Engines.ThingService
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static bool HasThingsWithFunc(
	string pEngineName,
	Func<TheThing, bool> pSelector
)
Public Shared Function HasThingsWithFunc ( _
	pEngineName As String, _
	pSelector As Func(Of TheThing, Boolean) _
) As Boolean
public:
static bool^ HasThingsWithFunc(
	String^ pEngineName, 
	Func<TheThing^, bool^>^ pSelector
)

Parameters

pEngineName
Type: String
Engine that owns TheThings to look for
pSelector
Type: Func<(Of <(<'TheThing, Boolean>)>)>
Selector for the function

Return Value