v 1.0.5-rc20-alpha5

in order to build 1.0.5-rc20-alpha5

* fixing dep graph, while moving as must as possible code from Yavsc to
Yavsc.Server
* impoved topmost Makefile
* cleaned the badly desined, ans system redondant "Action" definiton
This commit is contained in:
Paul Schneider 2018-06-11 14:43:18 +02:00
commit 781ce94edc
21 changed files with 24 additions and 8664 deletions

View file

@ -1,9 +0,0 @@
using System.Threading.Tasks;
namespace Yavsc.Models.Process
{
public abstract class Action<TResult,TInput>
{
public abstract Task<TResult> GetTask(TInput data);
}
}

View file

@ -1,3 +1,4 @@
using System;
using System.ComponentModel.DataAnnotations;
namespace Yavsc.Models.Process
@ -5,7 +6,7 @@ namespace Yavsc.Models.Process
/// <summary>
/// An abstract, identified rule
/// </summary>
public class Rule<TResult,TInput>
public abstract class Rule<TResult,TInput>
{
[Key]
public string Id { get; set; }
@ -28,7 +29,7 @@ namespace Yavsc.Models.Process
public string Description { get; set; }
public Action<TResult,TInput> Execution { get; set; }
public abstract TResult Execute(TInput inputData);
}
}