views:

499

answers:

1

Hi,

Is the provider model really just the factory pattern?

+1  A: 

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.

Bill the Lizard