Example #1
0
 public void Dispose()
 {
     _harmonyMemory = null;
 }
 /// <summary>
 /// Uses the memory consideration.
 /// </summary>
 /// <returns></returns>
 public virtual Harmony <T> UseMemoryConsideration()
 {
     return(HarmonyMemory.GetRandomElement());
 }
Example #3
0
 public HarmonyMemoryTest()
 {
     _harmonyMemoryTestSize = 3;
     _harmonyMemory         = new HarmonyMemory <double>(_harmonyMemoryTestSize);
 }