Refactor AdminContentProvider

This commit is contained in:
2023-08-24 10:37:04 +02:00
parent 5c62419f65
commit c2668d7270
27 changed files with 132 additions and 161 deletions

View File

@@ -1,4 +1,5 @@
using FileTime.Providers.LocalAdmin;
using FileTime.Providers.Remote;
using FileTime.Server.Common;
namespace FileTime.Server.App;
@@ -6,7 +7,7 @@ namespace FileTime.Server.App;
public class DummyAdminElevationManager : IAdminElevationManager
{
public bool IsAdminInstanceRunning => throw new NotImplementedException();
public Task<IRemoteConnection> CreateConnectionAsync() => throw new NotImplementedException();
public Task<IRemoteContentProvider> GetRemoteContentProviderAsync() => throw new NotImplementedException();
public string ProviderName => throw new NotImplementedException();
public Task CreateAdminInstanceIfNecessaryAsync(string? confirmationMessage = null) => throw new NotImplementedException();