mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-12-16 04:44:56 +01:00
Rework Journal File Reading
Remove Explorer Remove Plugin Architecture
This commit is contained in:
14
Pulsar/Utils/CollectionExtesions.cs
Normal file
14
Pulsar/Utils/CollectionExtesions.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace Pulsar.Utils;
|
||||
|
||||
public static class CollectionExtensions
|
||||
{
|
||||
public static void Add<T1, T2>(this ICollection<(T1,T2)> collection, T1 t1, T2 t2)
|
||||
{
|
||||
collection.Add((t1, t2));
|
||||
}
|
||||
|
||||
public static void Add<T1, T2, T3>(this ICollection<(T1,T2,T3)> collection, T1 t1, T2 t2, T3 t3)
|
||||
{
|
||||
collection.Add((t1, t2, t3));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user