Method GetStatDefinitions
GetStatDefinitions()
Returns an array of all StatDefinition instances of this catalog.
Declaration
public StatDefinition[] GetStatDefinitions()
Returns
| Type | Description |
|---|---|
| StatDefinition[] | An array of all StatDefinition instances in this catalog. |
Remarks
Keep in mind that this method allocates an array. If you want to avoid allocations, please consider using GetStatDefinitions(ICollection<StatDefinition>) instead.
GetStatDefinitions(ICollection<StatDefinition>)
Fills the given collection with all StatDefinitions in this catalog.
Note: this returns the current state of all StatDefinitions.
The list will be cleared and updated with current data.
Declaration
public void GetStatDefinitions(ICollection<StatDefinition> statDefinitions)
Parameters
| Type | Name | Description |
|---|---|---|
| ICollection<StatDefinition> | statDefinitions | The list to clear and fill with all StatDefinitions. |