Hermod
A cross-platform, modular and fully GDPR-compliant email archival solution!
Loading...
Searching...
No Matches
Hermod.Core.Commands.Results.ICommandResult< T > Interface Template Reference

A generic, object-based variation of ICommandResult<T>. More...

Inheritance diagram for Hermod.Core.Commands.Results.ICommandResult< T >:
Hermod.Core.Commands.Results.CommandResult Hermod.Core.Commands.Results.JsonCommandResult< T > Hermod.Core.Commands.Results.CommandErrorResult

Properties

string? Message [get]
 An optional message. This message may be written to logs.
 
object? Result [get]
 The command's result. The result may be sent over the wire.
 
new T Result [get]
 The command's result. The result may be sent over the wire.
 

Detailed Description

A generic, object-based variation of ICommandResult<T>.

Defines a basic contract between a command and an executor to return a standardised result.

Definition at line 27 of file ICommandResult.cs.

Property Documentation

◆ Message

An optional message. This message may be written to logs.

Implemented in Hermod.Core.Commands.Results.CommandResult, and Hermod.Core.Commands.Results.JsonCommandResult< T >.

Definition at line 14 of file ICommandResult.cs.

14{ get; }

◆ Result [1/2]

The command's result. The result may be sent over the wire.

Implemented in Hermod.Core.Commands.Results.CommandResult, Hermod.Core.Commands.Results.JsonCommandResult< T >, and Hermod.Core.Commands.Results.JsonCommandResult< T >.

Definition at line 20 of file ICommandResult.cs.

20{ get; }

◆ Result [2/2]

The command's result. The result may be sent over the wire.

Implemented in Hermod.Core.Commands.Results.CommandResult, Hermod.Core.Commands.Results.JsonCommandResult< T >, and Hermod.Core.Commands.Results.JsonCommandResult< T >.

Definition at line 33 of file ICommandResult.cs.

33{ get; }

The documentation for this interface was generated from the following file: