Class CollectionSetterCache<T>
- Namespace
- Alternet.Scripter.Debugger.UI.Wpf.Evaluation.CodeCompletion
- Assembly
- Alternet.Scripter.Debugger.UI.Wpf.v9.dll
Helps to avoid redundant SetItems operations when the items set previously are the same.
public class CollectionSetterCache<T>
Type Parameters
T
- Helps to avoid redundant SetItems operations when the items set previously are the same.
- Inheritance
-
CollectionSetterCache<T>
Constructors
- CollectionSetterCache(Action<IEnumerable<T>>, Func<T, int>)
Initializes a new instance of the
CollectionSetterCache
class with specified parameters.
Methods
- Clear()
Clears items hash.
- SetItems(ICollection<T>)
Sets new item collection.