2018-11-05 08:37:17 +00:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using Flowsharp.Models;
|
|
|
|
|
|
|
|
|
|
namespace Flowsharp
|
|
|
|
|
{
|
|
|
|
|
public interface IActivityLibrary
|
|
|
|
|
{
|
2018-11-18 21:46:42 +00:00
|
|
|
Task<IEnumerable<Models.ActivityDescriptor>> GetActivitiesAsync(CancellationToken cancellationToken);
|
|
|
|
|
Task<Models.ActivityDescriptor> GetActivityByNameAsync(string name, CancellationToken cancellationToken);
|
2018-11-05 08:37:17 +00:00
|
|
|
}
|
|
|
|
|
}
|