Exemplo n.º 1
0
 public static T Prepare <T> () where T : ActionBase, new()
 {
     return(ActionPool.GetInstance().GetAction <T>());
 }
Exemplo n.º 2
0
 public static void Preallocate <T> (int count = 50) where T : ActionBase, new()
 {
     ActionPool.GetInstance().Preallocate <T>(count);
 }