コード例 #1
0
        InventoryItemDetails Handle(GetDetails _)
        {
            CheckCreated();

            return(new InventoryItemDetails
            {
                Name = name,
                Total = total,
                Active = active
            });
        }
コード例 #2
0
 InventoryItemDetails Handle(GetDetails query)
 {
     return(new InventoryItemDetails(name, total, active));
 }