public void ArrayFunc3(int?[] nums, string semaphoreFile) { var str = ""; var first = true; foreach (var num in nums) { if (!first) { str += ","; } str += num?.ToString() ?? "null"; first = false; } TaskQueueTestFixture.WriteSempaphoreValue(semaphoreFile, str); }
public void ObjectFunc(object num, string semaphoreFile) { TaskQueueTestFixture.WriteSempaphoreValue(semaphoreFile, num); }
public void ArrayFunc2(int[] nums, string semaphoreFile) { TaskQueueTestFixture.WriteSempaphoreValue(semaphoreFile, string.Join(",", nums)); }
public void StringFunc(string num, string semaphoreFile) { TaskQueueTestFixture.WriteSempaphoreValue(semaphoreFile, num); }
public void DoubleFunc(double num, string semaphoreFile) { TaskQueueTestFixture.WriteSempaphoreValue(semaphoreFile, num); }
public void FloatFunc(float num, string semaphoreFile) { TaskQueueTestFixture.WriteSempaphoreValue(semaphoreFile, num); }
public void NullableIntFunc(int?num, string semaphoreFile) { TaskQueueTestFixture.WriteSempaphoreValue(semaphoreFile, num ?? -1); }
public void DateTimeFunc(DateTime dateTime, string semaphoreFile) { TaskQueueTestFixture.WriteSempaphoreValue(semaphoreFile, dateTime); }