Beispiel #1
0
 public override object ProvideValue(IServiceProvider serviceProvider)
 => _instance ?? (_instance = new RatioConverter());
 public override object ProvideValue(IServiceProvider serviceProvider)
 {
     return _instance ?? (_instance = new RatioConverter());
 }
Beispiel #3
0
 public void InitializeConverter()
 {
     _converter = new RatioConverter();
 }