Esempio n. 1
0
 public static CostLimitNode CostLimit(CostTypeNode costType, decimal?value = null)
 {
     return(CostLimit(
                name: costType.Name,
                typeId: costType.Id,
                value: value ?? costType.DefaultCostLimit));
 }
Esempio n. 2
0
 public static CostNode Cost(CostTypeNode costType, decimal value = 0m)
 {
     return(Cost(
                name: costType.Name,
                typeId: costType.Id,
                value: value));
 }