We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcd92aa commit ed3dfa1Copy full SHA for ed3dfa1
Runtime/Service.cs
@@ -8,7 +8,7 @@ public abstract class Service<ServiceType> : IService
8
private bool isInitialized = false;
9
10
/// An instance reference to the service.
11
- public static ServiceType Instance { get; } = null;
+ public static ServiceType Instance { private set; get; } = null;
12
13
/// Method invoked when the service will initialize.
14
public virtual void OnInitialize () { }
0 commit comments