Show / Hide Table of Contents

Class AddonBagExtensions

Extension methods for AddonBag.

Inheritance
System.Object
AddonBagExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DevZest.Data.Addons
Assembly: DevZest.Data.dll
Syntax
public static class AddonBagExtensions

Methods

Name Description
Add(AddonBag, IAddon)

Adds addon into AddonBag.

AddOrUpdate(AddonBag, IAddon)

Adds or update addon in AddonBag.

ContainsAddon(AddonBag, Object)

Determines if AddonBag contains specified addon key.

GetAddon(AddonBag, Object)

Gets the addon by key.

GetAddon<T>(AddonBag)

Get the single or default addon in the AddonBag by type.

GetAddons<T>(AddonBag)

Gets the collection of addons in the AddonBag by type.

RemoveAddon(AddonBag, Object)

Removes addon from AddonBag by key.

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