コード例 #1
0
 public static CommandExectionResult Handle(IAggregate aggregateRoot)
 {
     if (aggregateRoot == null)
     {
         return(new CommandExectionResult
         {
             IsHandled = true,
             AffectedAggregatesCount = 1,
         });
     }
     else
     {
         return(Handle(aggregateRoot.GetDescriptor()));
     }
 }