public CompositeRewardResult(RawNode node, IContext context) : base(node, context) { var rawResults = node.GetRawNodeArray("results"); results = new IRewardResult[rawResults.Length]; for (var i = 0; i < rawResults.Length; i++) { results[i] = FactoryManager.Build <RewardResult>(rawResults[i], context); } }