init
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DTS.Common.Classes.TestSetups
|
||||
{
|
||||
public abstract class TestSetupHelper
|
||||
{
|
||||
#region TestSetupNames
|
||||
private static Dictionary<int, string> TestSetupNames = new Dictionary<int, string>();
|
||||
public static void ClearTestSetupNames()
|
||||
{
|
||||
TestSetupNames.Clear();
|
||||
}
|
||||
public static void SetTestSetupName(int id, string name)
|
||||
{
|
||||
TestSetupNames[id] = name;
|
||||
}
|
||||
public static string GetTestSetupName(int Id)
|
||||
{
|
||||
var name = string.Empty;
|
||||
|
||||
if (TestSetupNames.ContainsKey(Id))
|
||||
{
|
||||
name = TestSetupNames[Id];
|
||||
}
|
||||
|
||||
return name;
|
||||
}
|
||||
#endregion TestSetupNames
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user