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.
25 lines
675 B
25 lines
675 B
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() { } |
|
}
|
|
|