tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
Core
RestartRegistration.cs
Go to the documentation of this file.
1
using
Tgstation.Server.Host.Utils
;
2
3
namespace
Tgstation.Server.Host.Core
4
{
6
sealed
class
RestartRegistration
:
IRestartRegistration
7
{
11
readonly
DisposeInvoker
?
disposeInvoker
;
12
17
public
RestartRegistration
(
DisposeInvoker
?
disposeInvoker
)
18
{
19
this.disposeInvoker =
disposeInvoker
;
20
}
21
23
public
void
Dispose
() =>
disposeInvoker
?.
Dispose
();
24
}
25
}
Tgstation.Server.Host.Core.RestartRegistration
Definition
RestartRegistration.cs:7
Tgstation.Server.Host.Core.RestartRegistration.disposeInvoker
readonly? DisposeInvoker disposeInvoker
The DisposeInvoker.
Definition
RestartRegistration.cs:11
Tgstation.Server.Host.Core.RestartRegistration.Dispose
void Dispose()
Tgstation.Server.Host.Core.RestartRegistration.RestartRegistration
RestartRegistration(DisposeInvoker? disposeInvoker)
Initializes a new instance of the RestartRegistration class.
Definition
RestartRegistration.cs:17
Tgstation.Server.Host.Utils.DisposeInvoker
Runs a given disposeAction on Dispose.
Definition
DisposeInvoker.cs:10
Tgstation.Server.Host.Utils.DisposeInvoker.Dispose
void Dispose()
Definition
DisposeInvoker.cs:36
Tgstation.Server.Host.Core.IRestartRegistration
Represents the lifetime of a IRestartHandler registration.
Definition
IRestartRegistration.cs:9
Tgstation.Server.Host.Core
Definition
Application.cs:77
Tgstation.Server.Host.Utils
Definition
AbstractHttpClientFactory.cs:10
Generated by
1.9.8