FunctionSet ​
Represents a set of functions that can be called by name.
Kind: Class
Namespace: CrowdControl.Games
Inheritance: ICollection<KeyValuePair<string, Callback>> → IDictionary<string, Callback> → IEnumerable → IEnumerable<KeyValuePair<string, Callback>>
Public Constructors
FunctionSet()
Creates a new instance of the CrowdControl.Games.FunctionSet class.
FunctionSet(IEnumerable> callbacks)
Creates a new instance of the CrowdControl.Games.FunctionSet class.
Public Member Functions
object
Call(string method, object[] args)
Calls a function by name with the specified arguments.
IEnumerator
GetEnumerator()
void
Add(KeyValuePair item)
void
Clear()
bool
Contains(KeyValuePair item)
void
CopyTo(KeyValuePair[] array, int arrayIndex)
bool
Remove(KeyValuePair item)
void
Add(string key, Callback value)
bool
ContainsKey(string key)
bool
Remove(string key)
bool
TryGetValue(string key, Callback out value)
Properties
int
Count
[get, ]
bool
IsReadOnly
[get, ]
Callback
Item
[get, set]
ICollection
Keys
[get, ]
ICollection
Values
[get, ]
