start work to allow custom accent colors

This commit is contained in:
RaidMax
2019-07-27 08:18:49 -05:00
parent ab4ce41015
commit 3b9b99a07e
20 changed files with 499 additions and 285 deletions

View File

@ -46,6 +46,7 @@ namespace SharedLibraryCore.Interfaces
/// <returns></returns>
Task<IList<T>> ExecuteSharedDatabaseOperation<T>(string operationName);
void RegisterSharedDatabaseOperation(Task<IList> operation, string operationName);
IMiddlewareActionHandler MiddlewareActionHandler { get; }
IRConParser GenerateDynamicRConParser();
IEventParser GenerateDynamicEventParser();
string Version { get;}

View File

@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace SharedLibraryCore.Interfaces
{
public interface IMiddlewareAction<T>
{
Task<T> Invoke(T original);
}
}

View File

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace SharedLibraryCore.Interfaces
{
public interface IMiddlewareActionHandler
{
void Register<T>(T actionType, IMiddlewareAction<T> action, string name = null);
Task<T> Execute<T>(T value, string name = null);
}
}