* Add proper summary tags back * Apply suggestions from code review Co-authored-by: Robin Sue <robinsue@live.de> * 69 more files fixed --------- Co-authored-by: Robin Sue <robinsue@live.de>
23 lines
818 B
C#
23 lines
818 B
C#
using Elsa.Workflows.Runtime.Entities;
|
|
using Elsa.Workflows.Runtime.Filters;
|
|
|
|
namespace Elsa.Workflows.Runtime;
|
|
|
|
/// <summary>
|
|
/// Manages bookmarks.
|
|
/// </summary>
|
|
public interface IBookmarkManager
|
|
{
|
|
/// <summary>
|
|
/// Deletes all bookmarks matching the specified filter.
|
|
/// </summary>
|
|
/// <param name="filter">The filter.</param>
|
|
/// <param name="cancellationToken">An optional cancellation token.</param>
|
|
/// <returns>The number of deleted bookmarks.</returns>
|
|
Task<long> DeleteManyAsync(BookmarkFilter filter, CancellationToken cancellationToken = default);
|
|
|
|
/// <summary>
|
|
/// Saves the specified bookmark and raises a notification that the bookmark has been saved.
|
|
/// </summary>
|
|
Task SaveAsync(StoredBookmark bookmark, CancellationToken cancellationToken = default);
|
|
} |