Table of Contents

GQIWorkerServiceAttribute class

Definition

  • Namespace: Skyline.DataMiner.Core.GQI.Extensions
  • Assembly: Skyline.DataMiner.Core.GQI.Extensions.dll

Indicates that the decorated class is a worker-scoped service. A single instance is shared across all users and all queries in the extension worker process.

Available from DataMiner 10.5.0 [CU18]/10.6.0 [CU6]/10.6.9 onwards.

Constructors

Constructor Description
GQIWorkerServiceAttribute() Registers and injects the service by its concrete type.
GQIWorkerServiceAttribute(Type serviceType) Registers and injects the service by the specified contract type. The decorated class must be assignable to this type.

Properties

Property Type Description
ServiceType Type Inherited from GQIServiceAttribute.
IdleExpirationMinutes int Inherited from GQIServiceAttribute. The default value is 0, which means that worker-scoped services do not expire because they are idle.
Advanced search syntax