tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
InstanceRequiredController.cs
Go to the documentation of this file.
1using Microsoft.Extensions.Logging;
2
7
9{
14 {
18 protected new Models.Instance Instance => base.Instance!;
19
24
34 IDatabaseContext databaseContext,
35 IAuthenticationContext authenticationContext,
36 ILogger<InstanceRequiredController> logger,
38 IApiHeadersProvider apiHeaders)
39 : base(
40 databaseContext,
41 authenticationContext,
42 logger,
44 apiHeaders,
45 true)
46 {
47 }
48 }
49}
Instance(Api.Models.Instance metadata, IRepositoryManager repositoryManager, IEngineManager engineManager, IDreamMaker dreamMaker, IWatchdog watchdog, IChatManager chat, StaticFiles.IConfiguration configuration, IDmbFactory dmbFactory, IJobManager jobManager, IEventConsumer eventConsumer, IRemoteDeploymentManagerFactory remoteDeploymentManagerFactory, IAsyncDelayer asyncDelayer, ILogger< Instance > logger)
Initializes a new instance of the Instance class.
Definition Instance.cs:142
readonly IInstanceManager instanceManager
The IInstanceManager for the ComponentInterfacingController.
ComponentInterfacingController for operations that require an instance.
InstanceRequiredController(IDatabaseContext databaseContext, IAuthenticationContext authenticationContext, ILogger< InstanceRequiredController > logger, IInstanceManager instanceManager, IApiHeadersProvider apiHeaders)
Initializes a new instance of the InstanceRequiredController class.
Models.InstancePermissionSet InstancePermissionSet
The Models.InstancePermissionSet for the request.
Represents an Api.Models.Instance in the database.
Definition Instance.cs:11
InstancePermissionSet? InstancePermissionSet
The User's effective Models.InstancePermissionSet if applicable.
For creating and accessing authentication contexts.