Skip to content

Instantly share code, notes, and snippets.

@vladikk
vladikk / ExecutionResult.cs
Created Mar 19, 2017
Command execution result object for CQRS based systems
View ExecutionResult.cs
using System;
namespace Example
{
public abstract class ExecutionResult
{
protected ExecutionResult(Guid aggregateId, Guid commandId, DateTime executedOn)
{
AggregateId = aggregateId;
CommandId = commandId;