AbstractInfoProviderTInfo, TProvider, TQueryProviderObject Property |
Gets or sets the provider instance.
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.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax public static TProvider ProviderObject { get; set; }
Property Value
Type:
TProviderRemarks
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