public static OptionResult Create(MongoConnection mongoConnection, DateTime beginTime, DateTime endTime, string name, bool success, long Memory) { OptionResult optionResult = new OptionResult() { BeginTime = beginTime, EndTime = endTime, Name = name, Success = success, Memory = Memory, }; Create(mongoConnection, optionResult); return(optionResult); }
public void UpdateStatisticsFromResults(MongoConnection _mongoConnection) { optionLastMemory = OptionResult.GetMemoryStatistics(_mongoConnection); options = OptionResult.GetOptionStatus(_mongoConnection); }