using System; namespace MonopolyPokerHelper { /// /// Base class for handlers to share properties like IsEnabled and IsResolved. /// By using a generic type parameter (CRTP), each handler gets its own independent static state. /// internal abstract class FeatureHandler where T : FeatureHandler { public static bool IsEnabled { get; set; } = true; public static bool IsResolved { get; protected set; } } }