Class BufferedAdder<T>
Inherited Members
Namespace: RedLoader.Utils
Assembly: RedLoader.dll
Syntax
public class BufferedAdder<T>
Type Parameters
Name | Description |
---|---|
T |
Constructors
BufferedAdder(Func<bool>, Action<T>)
Declaration
public BufferedAdder(Func<bool> canAddFunc, Action<T> addFunc)
Parameters
Type | Name | Description |
---|---|---|
Func<bool> | canAddFunc | |
Action<T> | addFunc |
Methods
Add(T)
Declaration
public void Add(T item)
Parameters
Type | Name | Description |
---|---|---|
T | item |
Flush()
Declaration
public void Flush()