remove old ref + update gitsubmodule + update 0.1.0.0 + add NoSnapService + pimpmymod + Licence AGPLv3
This commit is contained in:
21
MareSynchronos/Services/RemoteConfigurationService.cs
Normal file
21
MareSynchronos/Services/RemoteConfigurationService.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace MareSynchronos.Services
|
||||
{
|
||||
/// <summary>
|
||||
/// Stub minimal : renvoie toujours null (pas de conf distante).
|
||||
/// </summary>
|
||||
public class RemoteConfigurationService
|
||||
{
|
||||
private readonly ILogger<RemoteConfigurationService> _logger;
|
||||
|
||||
public RemoteConfigurationService(ILogger<RemoteConfigurationService> logger)
|
||||
{
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
public Task<T?> GetConfigAsync<T>(string key) where T : class
|
||||
=> Task.FromResult<T?>(null);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user