namespace EleCho.WpfSuite { /// /// Base class of singleton multi value converter /// /// public abstract class SingletonMultiValueConverterBase : MultiValueConverterBase where TSelf : SingletonMultiValueConverterBase, new() { private static TSelf? _instance = null; /// /// Get an instance of /// public static TSelf Instance => _instance ?? new(); } }