Is the Provider Model using the Factory pattern?
-
03-07-2019 - |
Question
Is the Provider Model really just the Factory pattern?
Solution
According to this,
Providers are a subclass of the ProviderBase class and typically instantiated using a factory method.
So I would say no, they're not same thing, but a factory is used in implementing a Provider.
You can also follow this link and Ctrl-F for "factory" to see how the pattern is used in the provider model.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow