更新
This commit is contained in:
@@ -31,6 +31,14 @@ namespace SLSFramework.General
|
||||
action.Invoke(arg1, arg2);
|
||||
}
|
||||
}
|
||||
|
||||
public static void Invoke<T1, T2, T3>(this IDictionary<string, PrioritizedAction<T1, T2, T3>> dictionary, T1 arg1, T2 arg2, T3 arg3)
|
||||
{
|
||||
foreach (var action in dictionary.Values)
|
||||
{
|
||||
action.Invoke(arg1, arg2, arg3);
|
||||
}
|
||||
}
|
||||
|
||||
public static void ModifyOrAdd(this IDictionary<string, float> dictionary, string key, float delta)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user