Show / Hide Table of Contents

Method AddOrUpdate

| Improve this Doc View Source

AddOrUpdate(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

addon is null

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest