private static bool TypesPredicate(StockConsumption consumption, StockConsumptionType type) { return(consumption.Type == type); }
public StockConsumptionBuilder WithType(StockConsumptionType type) { _consumption.Type = type; return(this); }