finished diagnose system
This commit is contained in:
@@ -6,11 +6,15 @@ namespace Moonlight.ApiServer.Implementations.Diagnose;
|
||||
|
||||
public class CoreDiagnoseProvider : IDiagnoseProvider
|
||||
{
|
||||
public async Task<DiagnoseEntry> GetFiles()
|
||||
public DiagnoseEntry[] GetFiles()
|
||||
{
|
||||
return new DiagnoseFile()
|
||||
{
|
||||
GetContent = () => Encoding.UTF8.GetBytes("hello world")
|
||||
};
|
||||
return
|
||||
[
|
||||
new DiagnoseFile()
|
||||
{
|
||||
Name = "test.txt",
|
||||
GetContent = () => Encoding.UTF8.GetBytes("hello world")
|
||||
}
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
namespace Moonlight.ApiServer.Implementations.Diagnose;
|
||||
|
||||
public class TestProvider
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user