TaskPool Class
Assembly: cs.temp.dll.dll
public static class TaskPool
Inheritance
System.Object →
TaskPool
Members
Methods
Methods
GetCacheSizeInfo()
public static IEnumerable<(Type, int)> GetCacheSizeInfo()
Returns
- IEnumerable<System.ValueTuple<System.Type, System.Int32>>
RegisterSizeGetter(Type, Func<Int32>)
public static void RegisterSizeGetter(Type type, Func<int> getSize)
Parameters
type
System.Type
getSize
System.Func<System.Int32>
SetMaxPoolSize(Int32)
public static void SetMaxPoolSize(int maxPoolSize)
Parameters
maxPoolSize
System.Int32