Flow.Launcher/Flow.Launcher/ViewModel/ResultsForUpdate.cs

29 lines
725 B
C#
Raw Normal View History

using Flow.Launcher.Plugin;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace Flow.Launcher.ViewModel
{
2021-02-15 18:12:28 +00:00
public struct ResultsForUpdate
{
2021-06-11 04:40:07 +00:00
public IReadOnlyList<Result> Results { get; }
public PluginMetadata Metadata { get; }
public string ID { get; }
public Query Query { get; }
public CancellationToken Token { get; }
2021-06-11 04:40:07 +00:00
public ResultsForUpdate(IReadOnlyList<Result> results, PluginMetadata metadata, Query query, CancellationToken token)
{
Results = results;
Metadata = metadata;
Query = query;
Token = token;
ID = metadata.ID;
}
}
}