Files
yavsc/Yavsc.Server/Models/IT/SourceCode/Batch.cs
Paul Schneider e95872e161 [WIP/IT] Batch interface & project controller
* the batch don't expose any format consideration for the log file
* a generated project controller, mostly to get a DbSet from db context
2018-06-22 17:52:24 +02:00

14 lines
419 B
C#

using System;
using Yavsc.Abstract.Interfaces;
namespace Yavsc.Server.Models.IT.SourceCode
{
public abstract class Batch<TInput> : IBatch<TInput, bool>
{
public string WorkingDir { get; set; }
public string LogPath { get; set; }
public Action<bool> ResultHandler { get; private set; }
public string []Args { get; set; }
public abstract void Launch(TInput Input);
}
}