Method GetAddons
| Improve this Doc View SourceGetAddons<T>(AddonBag)
Gets the collection of addons in the AddonBag by type.
Declaration
public static ReadOnlyCollection<T> GetAddons<T>(this AddonBag addonBag)
where T : class, IAddon
Parameters
Type | Name | Description |
---|---|---|
AddonBag | addonBag | The AddonBag. |
Returns
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyCollection<T> | The collection of addons with specified type. |
Type Parameters
Name | Description |
---|---|
T | The type of the addon. |