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(); }
protected void SetRadioToValues() { RadioTo.Items.Clear(); if (!string.IsNullOrEmpty(RadioFrom.SelectedValue)) { RadioTo.Items.AddRange(TransferHelper.GetAvailableListItems(RadioFrom.SelectedValue)); } SetRadioItemsValues(RadioTo); RemoveDuplicatesFromList(); }