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