using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using System.Xml.Linq; using Barotrauma.LuaCs.Data; using FluentResults; namespace Barotrauma.LuaCs.Services.Processing; public interface IConverterService : IService { Result TryParseResource(TSrc src); ImmutableArray> TryParseResources(IEnumerable sources); } public interface IConverterServiceAsync : IService { Task> TryParseResourceAsync(TSrc src); Task>> TryParseResourcesAsync(IEnumerable sources); } public interface IProcessorService : IService { TOut Process(TSrc src); } public interface IProcessorServiceAsync : IService { Task ProcessAsync(TSrc src); }