public override object ProvideValue(IServiceProvider serviceProvider)
 {
     if (_converter == null)
     {
         _converter = new ListConverter();
         return _converter;
     }
     else
     {
         return _converter;
     }
 }
示例#2
0
 public override object ProvideValue(IServiceProvider serviceProvider)
 {
     if (_converter == null)
     {
         _converter = new ListConverter();
         return(_converter);
     }
     else
     {
         return(_converter);
     }
 }