Exemplo n.º 1
0
 public ApiTransferPaymentProcessor(string text, string value)
 {
     this.text           = text;
     this.value          = value;
     this.transferableTo = TransferHelper.GetAvailableListItems(value).
                           Select(elem => new ApiPaymentProcessor(elem.Text, elem.Value)).ToList();
 }
Exemplo n.º 2
0
    protected void SetRadioToValues()
    {
        RadioTo.Items.Clear();

        if (!string.IsNullOrEmpty(RadioFrom.SelectedValue))
        {
            RadioTo.Items.AddRange(TransferHelper.GetAvailableListItems(RadioFrom.SelectedValue));
        }

        SetRadioItemsValues(RadioTo);
        RemoveDuplicatesFromList();
    }