In Delphi, TWebActionItem.Producer and TWebActionItem.ProducerContent properties are used in Web Brokers to generates the content of response messages when the action item executes.
What is the difference between TWebActionItem.Producer and TWebActionItem.ProducerContent? And which one should we use?
From the TWebActionItem.ProducerContent documentation:
So you should use whichever one is appropriate for the type of the producer of the response content. If that producer is of type
IProduceContent, you useProducerContent; if the producer is aICustomerContentProducertype, you'd useProducerinstead.