GetValue() public méthode

public GetValue ( ) : string
Résultat string
        public void InitScreen(XsollaTranslations pTranslation, XsollaFormElement pForm)
        {
            _promoBtn.GetComponent<Text>().text = pTranslation.Get("coupon_control_header");
            _promoDesc.text = pTranslation.Get("coupon_control_hint");
            _promoCodeApply.gameObject.GetComponentInChildren<Text>().text = pTranslation.Get("coupon_control_apply");
            _acceptLable.text = pTranslation.Get("coupon_control_accepted");

            _inputField.onValueChanged.AddListener(delegate
                {
                    if (_panelError.activeSelf)
                        _panelError.SetActive(false);
                });

            if (pForm.IsReadOnly() && !pForm.GetValue().Equals(""))
            {
                _inputField.text = pForm.GetValue();
                ApplySuccessful();
            }
        }
 /* * * * * * * * * * * * * * * * * * * * * * * * * * *
 * PUBLIC METHODS
 * * * * * * * * * * * * * * * * * * * * * * * * * * */
 public void AddElement(XsollaFormElement xsollaFormElement)
 {
     elements.Add(xsollaFormElement);
     if (xsollaFormElement.IsVisible() /*&& !"couponCode".Equals(xsollaFormElement.GetName())*/)
         elementsVisible.Add(xsollaFormElement);
     map.Add(xsollaFormElement.GetName(), xsollaFormElement);
     if (xsollaFormElement.GetName () != null)
     {
         xpsMap.Add (xpsPrefix + xsollaFormElement.GetName (), xsollaFormElement.GetValue ());
     }
     size++;
 }
        public void InitScreen(XsollaTranslations pTranslation, XsollaFormElement pForm)
        {
            _promoBtn.GetComponent <Text>().text = pTranslation.Get("coupon_control_header");
            _promoDesc.text = pTranslation.Get("coupon_control_hint");
            _promoCodeApply.gameObject.GetComponentInChildren <Text>().text = pTranslation.Get("coupon_control_apply");
            _acceptLable.text = pTranslation.Get("coupon_control_accepted");

            _inputField.onValueChanged.AddListener(delegate
            {
                if (_panelError.activeSelf)
                {
                    _panelError.SetActive(false);
                }
            });

            if (pForm.IsReadOnly() && !pForm.GetValue().Equals(""))
            {
                _inputField.text = pForm.GetValue();
                ApplySuccessful();
            }
        }
 /* * * * * * * * * * * * * * * * * * * * * * * * * * *
 * PUBLIC METHODS
 * * * * * * * * * * * * * * * * * * * * * * * * * * */
 public void AddElement(XsollaFormElement xsollaFormElement)
 {
     elements.Add(xsollaFormElement);
     if (xsollaFormElement.IsVisible() /*&& !"couponCode".Equals(xsollaFormElement.GetName())*/)
     {
         elementsVisible.Add(xsollaFormElement);
     }
     map.Add(xsollaFormElement.GetName(), xsollaFormElement);
     if (xsollaFormElement.GetName() != null)
     {
         xpsMap.Add(xpsPrefix + xsollaFormElement.GetName(), xsollaFormElement.GetValue());
     }
     size++;
 }