Exemplo n.º 1
0
 public static void SetInstance(CoverageData data)
 {
     lock (_locker)
     {
         _instance = data;
     }
 }
Exemplo n.º 2
0
 public static CoverageData GetInstance()
 {
     lock (_locker)
     {
         if (_instance == null)
         {
             _instance = new CoverageData();
         }
     }
     return(_instance);
 }
Exemplo n.º 3
0
 // To communicate across proxy instance
 public void SetStaticInstance(CoverageData data)
 {
     SetInstance(data);
 }
Exemplo n.º 4
0
 public void SetupCoverage(Dictionary <string, int> lineLocatorIDs, Dictionary <int, string> reverseLineLocatorIDs)
 {
     coverageData = CoverageData.GetInstance();
     coverageData.LineLocatorIDs        = lineLocatorIDs;
     coverageData.reverseLineLocatorIDs = reverseLineLocatorIDs;
 }