Skip to content

)} )}

LocatorExtensions.AddCoreRegistrations(IServiceLocator, IScheduler, IScheduler, IObserver) method

Defined in

Type: LocatorExtensions Namespace: ReactiveMarbles.Mvvm Assembly: ReactiveMarbles.Mvvm.dll

Applies to

net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.0

Overloads

  • 1. public static IServiceLocator AddCoreRegistrations(this IServiceLocator serviceLocator, IScheduler mainThreadScheduler, IScheduler taskPoolScheduler, IObserver<Exception> exceptionHandler)
  • 2. public static IServiceLocator AddCoreRegistrations(this IServiceLocator serviceLocator, Func<ICoreRegistration> coreRegistration)

1. Overload

public static IServiceLocator AddCoreRegistrations(this IServiceLocator serviceLocator, IScheduler mainThreadScheduler, IScheduler taskPoolScheduler, IObserver<Exception> exceptionHandler)

View source

Summary: Adds core registrations to the locator.

Parameters

NameTypeDescription
serviceLocator[IServiceLocator](#The service locator.
mainThreadScheduler[IScheduler](#The main thread scheduler.
taskPoolScheduler[IScheduler](#The task pool scheduler.
exceptionHandlerIObserverThe exception handler.

Returns: IServiceLocator -- The service locator.

2. Overload

public static IServiceLocator AddCoreRegistrations(this IServiceLocator serviceLocator, Func<ICoreRegistration> coreRegistration)

View source

Summary: Adds core registrations to the locator.

Parameters

NameTypeDescription
serviceLocator[IServiceLocator](#The service locator.
coreRegistrationFuncThe core registration.

Returns: IServiceLocator -- The service locator.