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.
28 lines
683 B
28 lines
683 B
1 year ago
|
using System.Collections.Generic;
|
||
|
using System.Threading.Tasks;
|
||
|
using StabilityMatrix.Core.Models;
|
||
|
using StabilityMatrix.Core.Models.Database;
|
||
|
using StabilityMatrix.Core.Services;
|
||
|
|
||
|
namespace StabilityMatrix.Avalonia.DesignData;
|
||
|
|
||
|
public class MockModelIndexService : IModelIndexService
|
||
|
{
|
||
|
/// <inheritdoc />
|
||
|
public Task RefreshIndex()
|
||
|
{
|
||
|
return Task.CompletedTask;
|
||
|
}
|
||
|
|
||
|
/// <inheritdoc />
|
||
|
public Task<IReadOnlyList<LocalModelFile>> GetModelsOfType(SharedFolderType type)
|
||
|
{
|
||
|
return Task.FromResult<IReadOnlyList<LocalModelFile>>(new List<LocalModelFile>());
|
||
|
}
|
||
|
|
||
|
/// <inheritdoc />
|
||
|
public void BackgroundRefreshIndex()
|
||
|
{
|
||
|
}
|
||
|
}
|