示例#1
0
 private static State Given(State st, UserCreated ev)
 {
     return(st);
 }
示例#2
0
        public IEnumerable <(Guid, ICommand)> When(EventMetadata m, UserCreated ev)
        {
            // here we calculate how the e-mail should look like...

            yield return(Guid.NewGuid(), new SendEmail());
        }