Exemplo n.º 1
0
 /// <inheritdoc />
 /// <summary>
 /// </summary>
 /// <param name="provider"></param>
 /// <returns></returns>
 public object ProvideValue(IServiceProvider provider) => Text == null ? null : XameteoL10N.Get(Text);
Exemplo n.º 2
0
 /// <inheritdoc />
 /// <summary>
 /// </summary>
 /// <param name="serviceProvider"></param>
 /// <returns></returns>
 public object ProvideValue(IServiceProvider serviceProvider)
 {
     return(Source == null ? null : ImageSource.FromResource(XameteoL10N.GetDrawable(Source)));
 }