C-DEngine 5.105

TheThingRegistry..::..GetThingByFunc Method

Returs TheThings matching the Selector

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

Syntax


public static TheThing GetThingByFunc(
	string pEngineName,
	Predicate<TheThing> pSelector
)
Public Shared Function GetThingByFunc ( _
	pEngineName As String, _
	pSelector As Predicate(Of TheThing) _
) As TheThing
public:
static TheThing^ GetThingByFunc(
	String^ pEngineName, 
	Predicate<TheThing^>^ pSelector
)

Parameters

pEngineName
Type: String
Engine Name owning TheThing
pSelector
Type: Predicate<(Of <(<'TheThing>)>)>
Selector function