That would be up to the parties. Ideally, parties would have open nomination contests and come up with a system where either they would, based on a plurality vote, take the top two candidates, or they would allow a ranked ballot in their process and take the top two based on that.
On September 29th, 2016. See this statement in context.