Click or drag to resize
AbstractInfoProviderTInfo, TProvider, TQuerySetAsDefaultProvider Method

Sets this provider instance as the default provider.

Since the providers are managed by IoC container, setting the provider instance must be performed before the IoC container initialization finishes (i.e. during application pre-initialization).

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
Remarks
In unit testing scenarios where IoC container is not available the Fake<TInfo, TProvider>(new TestingProvider()); method must be used to set the provider instance.
See Also