Entity.Find(T) Method (String, Boolean)

GeonBit.UI

EntityFindT Method (String, Boolean)
Find and return first occurance of a child entity with a given identifier and specific type.

Namespace:  GeonBit.UI.Entities
Assembly:  GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public T Find<T>(
	string identifier,
	bool recursive = false
)
where T : Entity

Parameters

identifier
Type: SystemString
Identifier to find.
recursive (Optional)
Type: SystemBoolean
If true, will search recursively in children of children. If false, will search only in direct children.

Type Parameters

T
Entity type to get.

Return Value

Type: T
First found entity with given identifier and type, or null if nothing found.
See Also