GQIUserServiceAttribute class
Definition
- Namespace:
Skyline.DataMiner.Core.GQI.Extensions - Assembly:
Skyline.DataMiner.Core.GQI.Extensions.dll
Indicates that the decorated class is a user-scoped service. One instance is created per user and shared across that user's queries within the current security context.
Available from DataMiner 10.5.0 [CU18]/10.6.0 [CU6]/10.6.9 onwards.
Tip
See also: Services in GQI extensions.
Constructors
| Constructor | Description |
|---|---|
GQIUserServiceAttribute() |
Registers and injects the service by its concrete type. |
GQIUserServiceAttribute(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 5. |