예제 #1
0
 private static bool TypesPredicate(StockConsumption consumption, StockConsumptionType type)
 {
     return(consumption.Type == type);
 }
예제 #2
0
        public StockConsumptionBuilder WithType(StockConsumptionType type)
        {
            _consumption.Type = type;

            return(this);
        }