Multi-Platform Package Manager for Stable Diffusion
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.
 
 
 

31 lines
847 B

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using StabilityMatrix.Avalonia.Controls.CodeCompletion;
using StabilityMatrix.Avalonia.Models.TagCompletion;
using StabilityMatrix.Core.Models.FileInterfaces;
namespace StabilityMatrix.Avalonia.DesignData;
public class MockCompletionProvider : ICompletionProvider
{
/// <inheritdoc />
public bool IsLoaded => false;
/// <inheritdoc />
public Task LoadFromFile(FilePath path, bool recreate = false)
{
return Task.CompletedTask;
}
/// <inheritdoc />
public void BackgroundLoadFromFile(FilePath path, bool recreate = false)
{
}
/// <inheritdoc />
public IEnumerable<ICompletionData> GetCompletions(string searchTerm, int itemsCount, bool suggest)
{
return Array.Empty<ICompletionData>();
}
}