Exemplo n.º 1
0
 /// <summary>
 /// 配置按钮文本
 /// </summary>
 private void ConfigButtonText(ButtonWrapperBuilder buttonBuilder)
 {
     if (_config.Contains(UiConst.ButtonText))
     {
         buttonBuilder.AddText(_config.GetValue(UiConst.ButtonText));
         return;
     }
     buttonBuilder.AddText(R.Upload);
 }
Exemplo n.º 2
0
 /// <summary>
 /// 配置文本
 /// </summary>
 private void ConfigText(ButtonWrapperBuilder builder)
 {
     if (_config.Contains(UiConst.Text))
     {
         builder.AddText(_config.GetValue(UiConst.Text));
         return;
     }
     builder.AddBindText(_config.GetValue(AngularConst.BindText));
 }