More development

This commit is contained in:
thepra committed 2020-05-02 18:57:42 +02:00
1 parent c1f5f82329
commit 29cde263d3
14 files changed
+181 -43

No files matched your search

+6
View File
@@ -11,6 +11,12 @@ namespace Seenginx.Models
public Exception Exception { get; private set; } = null;
public D Data { get; private set; }
public Result() { }
public Result(D data)
{
Data = data;
}
public Result<D> Invalidate(string errorMessage, Exception exception = null)
{
AllOk = false;