Method Add
| Improve this Doc View SourceAdd(AddonBag, IAddon)
Adds addon into AddonBag.
Declaration
public static void Add(this AddonBag addonBag, IAddon addon)
Parameters
Type | Name | Description |
---|---|---|
AddonBag | addonBag | The AddonBag. |
IAddon | addon | The addon to be added. |
Exceptions
Type | Condition |
---|---|
System.NullReferenceException |
|
System.InvalidOperationException | Duplicate Key exists. |