sparse-intern-71089
03/12/2020, 12:37 AMfast-dinner-32080
03/12/2020, 1:00 AMstraight-flower-13757
03/12/2020, 1:29 AMOutput.Tuple<?, int>(args.VmTemplate, args.SrvExtendSize).Apply(t => {
var (template, extendedSize) = t;
return template.Disks[0].Size + args.SrvExtendSize;
});
that will take both inputs and make sure that both are counted in/awaited if needed before converting them into a single output.fast-dinner-32080
03/12/2020, 1:51 AMSize = Output.Tuple(args.VmTemplate, args.SrvExtendSize).Apply(t => {
var (template, extendedSize) = t;
return template.Disks[0].Size + extendedSize;
}),
It just seems like a lot of work to just add two ints.fast-dinner-32080
03/12/2020, 1:52 AMstraight-flower-13757
03/12/2020, 1:55 AM