Show / Hide Table of Contents

Method Add

| Improve this Doc View Source

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

addon is null

System.InvalidOperationException

Duplicate Key exists.

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