Exemplo n.º 1
0
        public async Task Init(string label, string message = null, string title = null)
        {
            if (title != null)
            {
                Title = title;
            }

            _view.Input.Label = label;
            await _msg.DoChange(message, false, this, false);

            _input.Reset(false, this);
        }
Exemplo n.º 2
0
        public async Task Init(string message = null, string label = null, string title = null)
        {
            if (message != null)
            {
                await _msg.DoChange(message, false, this, false);
            }

            if (label != null)
            {
                _inputLabelChanger(label);
            }

            if (title != null)
            {
                Title = title;
            }

            _input.Reset(false, this);
        }
 public void Init(IEnumerable <T> permittedValues)
 {
     _view.Confirm.State = ActionViewState.CreateIdleOrSuccess();
     _localValue.Reset(false, this);
     _view.Choosen.PermittedValues = permittedValues;
 }