using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MW.WorkFlow
{
    public interface IActivity
    {
        string Name { get; }
       // Task<ActivityResult> ExecuteAsync(WorkflowContext context, CancellationToken cancellationToken, Func<Task> pauseCheck);
        Task<ActivityResult> ExecuteAsync(WorkflowContext context, ActivityControl activityControl);
        
    }
}
