You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
472 B
18 lines
472 B
1 year ago
|
using System.Diagnostics.CodeAnalysis;
|
||
|
using StabilityMatrix.Core.Services;
|
||
|
|
||
|
namespace StabilityMatrix.Core.Models;
|
||
|
|
||
|
public class ModelPostDownloadContextAction : IContextAction
|
||
|
{
|
||
|
/// <inheritdoc />
|
||
|
public object? Context { get; set; }
|
||
|
|
||
|
[SuppressMessage("Performance", "CA1822:Mark members as static")]
|
||
|
public void Invoke(IModelIndexService modelIndexService)
|
||
|
{
|
||
|
// Request reindex
|
||
|
modelIndexService.BackgroundRefreshIndex();
|
||
|
}
|
||
|
}
|