Class DiffUtils
- Namespace
- KSP
- Assembly
- Assembly-CSharp.dll
public static class DiffUtils
- Inheritance
-
DiffUtils
- Inherited Members
-
Methods
DiffCollectionChanges<T>(ICollection<T>, ICollection<T>)
public static bool DiffCollectionChanges<T>(ICollection<T> before, ICollection<T> after)
Parameters
before ICollection<T>
after ICollection<T>
Returns
- bool
Type Parameters
T
DiffCollectionChanges<T>(ICollection<T>, ICollection<T>, out HashSet<T>, out HashSet<T>)
public static bool DiffCollectionChanges<T>(ICollection<T> before, ICollection<T> after, out HashSet<T> added, out HashSet<T> removed)
Parameters
before ICollection<T>
after ICollection<T>
added HashSet<T>
removed HashSet<T>
Returns
- bool
Type Parameters
T
DiffCollectionCountChanges<T>(ICollection<T>, ICollection<T>)
public static bool DiffCollectionCountChanges<T>(ICollection<T> before, ICollection<T> after)
Parameters
before ICollection<T>
after ICollection<T>
Returns
- bool
Type Parameters
T
DiffCollectionCountChanges<T>(ICollection<T>, ICollection<T>, out Dictionary<T, int>, out Dictionary<T, int>)
public static bool DiffCollectionCountChanges<T>(ICollection<T> before, ICollection<T> after, out Dictionary<T, int> added, out Dictionary<T, int> removed)
Parameters
before ICollection<T>
after ICollection<T>
added Dictionary<T, int>
removed Dictionary<T, int>
Returns
- bool
Type Parameters
T
DiffCollectionOrder<T>(ICollection<T>, ICollection<T>)
public static bool DiffCollectionOrder<T>(ICollection<T> before, ICollection<T> after)
Parameters
before ICollection<T>
after ICollection<T>
Returns
- bool
Type Parameters
T