(client) chore:Mark Singleton class as an abstract class
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
namespace Utils
|
namespace Utils
|
||||||
{
|
{
|
||||||
public class Singleton<T> where T : new()
|
public abstract class Singleton<T> where T : new()
|
||||||
{
|
{
|
||||||
private static T _instance;
|
private static T _instance;
|
||||||
public static T Instance => _instance ??= new T();
|
public static T Instance => _instance ??= new T();
|
||||||
|
Reference in New Issue
Block a user