C-DEngine 5.105

TheThingRegistry..::..GetThingsByFunc Method

Returs a list of TheThings matching the Selector

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

Syntax


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

Parameters

pEngineName
Type: String
Engine Name owning TheThings
pSelector
Type: Func<(Of <(<'TheThing, Boolean>)>)>
Selector function
AllowRemoteEngine
Type: Boolean
If True, the list includes TheThings on remote Nodes

Return Value