Hermod
A cross-platform, modular and fully GDPR-compliant email archival solution!
Loading...
Searching...
No Matches
ICommandResult.cs
Go to the documentation of this file.
1using System;
2
4
8 public interface ICommandResult {
9
14 string? Message { get; }
15
20 object? Result { get; }
21
22 }
23
27 public interface ICommandResult<T>: ICommandResult {
28
33 new T Result { get; }
34
35 }
36}
37
A generic, object-based variation of ICommandResult<T>.
string? Message
An optional message. This message may be written to logs.
object? Result
The command's result. The result may be sent over the wire.