EnlightenmentProvider.EnsureLoaded() method¶
Defined in
Type: EnlightenmentProvider
Namespace: System.Reactive.PlatformServices
Assembly: System.Reactive.dll
Applies to
netstandard2.0
public static bool EnsureLoaded()
Summary: Ensures that the calling assembly has a reference to the System.Reactive.PlatformServices assembly with platform enlightenments. If no reference is made from the user code, it's possible for the build process to drop the deployment of System.Reactive.PlatformServices, preventing its runtime discovery.
Returns: bool -- true if the loaded enlightenment provider matches the provided defined in the current assembly; false otherwise. When a custom enlightenment provider is installed by the host, false will be returned.