public void SetSolution(JidType jidType, SolutionResult result, params MessageType[] messageTypes)
 {
     foreach (var messageType in messageTypes)
     {
         results[jidType.ToString() + messageType.ToString()] = result;
     }
 }
            public SolutionResult GetSolution(JidType jidType, MessageType messageType)
            {
                SolutionResult result;

                return(results.TryGetValue(jidType.ToString() + messageType.ToString(), out result) ? result : default(SolutionResult));
            }