public OptiArgument(OptiMode optiMode, string optiName) { OptiMode = optiMode; OptiName = optiName; switch (optiMode) { case OptiMode.NormalOpti: workName = "Classic optimization: "; break; } workName += optiName; }
public void StartOpti(OptiMode optiMode, string optiName) { EnqueueWork(new OptiArgument(optiMode, optiName)); }