The provider is actually just another name for the Strategy Template
Usually, when someone mentions the use of a provider, he talks about some kind of abstract contract to which many implementations can exist.
A service is usually intended to indicate an object without a state that has only methods on it. The service can be used as a Strategy, but it does not have to be.
A Broker is really just responsible for ... brokerage. It is designed to move messages between services and objects, organize interaction between services in order to isolate them.
public class Broker { public void SendImportantMessage(Message msg) {
Josh
source share