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