Method AddOrUpdate
| Improve this Doc View SourceAddOrUpdate(AddonBag, IAddon)
Adds or update addon in AddonBag.
Declaration
public static void AddOrUpdate(this AddonBag addonBag, IAddon addon)
Parameters
| Type | Name | Description |
|---|---|---|
| AddonBag | addonBag | The AddonBag. |
| IAddon | addon | The addon to be added or updated with by key. |
Exceptions
| Type | Condition |
|---|---|
| System.NullReferenceException |
|