コード例 #1
0
 public CheckupStatusEventArgs(Checkup checkup, string message, Status?status = null, int progress = -1)
     : base()
 {
     Checkup  = checkup;
     Message  = message;
     Progress = progress;
     Status   = status;
 }
コード例 #2
0
        public void ContributeState(Checkup checkup, string key, object value)
        {
            var checkupId = checkup.Id;

            if (!charts.ContainsKey(checkupId))
            {
                charts.Add(checkupId, new Dictionary <string, object>());
            }

            charts[checkupId][key] = value;
        }