Beispiel #1
0
 public ServiceResult(ResultKinds kind, T result, string warning, ExceptionDescriptions exceptionDescriptions)
 {
     Result = result;
     ExceptionDescriptions = exceptionDescriptions;
     Kind = kind;
     WarningDescription = warning;
 }
Beispiel #2
0
 public static ServiceResult <T> Exception(ExceptionDescriptions exceptionDescriptions) => new ServiceResult <T>(ResultKinds.Exception, default, null, exceptionDescriptions);
Beispiel #3
0
 public ServiceResult(ExceptionDescriptions exceptionDescriptions) : this(ResultKinds.Exception, default, null, exceptionDescriptions)
 {
 }