Skip to content

Method AddBelayExecutors ​

Namespace: Belay.Extensions
Assembly: Belay.Extensions.dll

AddBelayExecutors(IServiceCollection) ​

Adds Belay.NET executor services as singletons. Note: In the simplified architecture, executors are accessed directly from Device instances rather than being created through dependency injection.

csharp
public static IServiceCollection AddBelayExecutors(this IServiceCollection services)

Parameters ​

services IServiceCollection

The service collection.

Returns ​

IServiceCollection

The service collection for chaining.

Released under the Apache License 2.0.