Show / Hide Table of Contents

Method GetAddons

| Improve this Doc View Source

GetAddons<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.

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