GetComponentList

GetComponentList<TComponent>(int)

public IList<TComponent> GetComponentList<TComponent>(int id) ;

Description

Get the value of the ComponentList type.

Type Parameters

Type Parameter Name Description Type Constraints
TComponent Type of Component to get
  • Component

Parameters

Parameter Name Description
id ID.

Returns

The value of the parameter. If there is no parameter, it returns null.

GetComponentList<TComponent>(string)

public IList<TComponent> GetComponentList<TComponent>(string name) ;

Description

Get the value of the ComponentList type.

Type Parameters

Type Parameter Name Description Type Constraints
TComponent Type of Component to get
  • Component

Parameters

Parameter Name Description
name Name.

Returns

The value of the parameter. If there is no parameter, it returns null.