App
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
namespace Alma.Services;
|
||||
|
||||
public interface IConfigurationFileReader
|
||||
{
|
||||
public Task<(T? Result, string? FileName)> DeserializeAsync<T>(string fileNameWithoutExtension, string? extension = null) where T : class;
|
||||
}
|
||||
7
src/Alma.Abstraction/Services/IFolderService.cs
Normal file
7
src/Alma.Abstraction/Services/IFolderService.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Alma.Services;
|
||||
|
||||
public interface IFolderService
|
||||
{
|
||||
string? ConfigRoot { get; }
|
||||
string AppData { get; }
|
||||
}
|
||||
8
src/Alma.Abstraction/Services/IMetadataHandler.cs
Normal file
8
src/Alma.Abstraction/Services/IMetadataHandler.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
using Alma.Data;
|
||||
|
||||
namespace Alma.Services;
|
||||
|
||||
public interface IMetadataHandler
|
||||
{
|
||||
Task SaveLinkedItemsAsync(List<ItemToLink> successfulLinks, DirectoryInfo sourceDirectory, DirectoryInfo targetDirectory);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using Alma.Configuration.Module;
|
||||
|
||||
namespace Alma.Services;
|
||||
|
||||
public interface IModuleConfigurationResolver
|
||||
{
|
||||
Task<(ModuleConfiguration? mergedModuleConfig, string? moduleConfigFileName)> ResolveModuleConfiguration(string moduleConfigStub);
|
||||
}
|
||||
7
src/Alma.Abstraction/Services/IOsInformation.cs
Normal file
7
src/Alma.Abstraction/Services/IOsInformation.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Alma.Services;
|
||||
|
||||
public interface IOsInformation
|
||||
{
|
||||
string GetOsIdentifier();
|
||||
bool IsOnPlatform(string platform);
|
||||
}
|
||||
Reference in New Issue
Block a user