SetEvaluation() приватный Метод

private SetEvaluation ( VariableViewModel wrapper ) : void
wrapper VariableViewModel
Результат void
Пример #1
0
 internal void SetEvaluation(VariableViewModel evaluation, string caption)
 {
     if (!string.IsNullOrWhiteSpace(evaluation.Expression))
     {
         Caption = Invariant($"{Resources.VariableGrid_Caption}: {caption}");
     }
     _gridHost.SetEvaluation(evaluation);
 }
Пример #2
0
 internal void SetViewModel(IRSessionDataObject dataObject, string caption)
 {
     if (!string.IsNullOrWhiteSpace(dataObject.Expression))
     {
         Caption = Invariant($"{Resources.VariableGrid_Caption}: {caption}");
     }
     _gridHost.SetEvaluation(dataObject);
 }
Пример #3
0
        internal void SetEvaluation(EvaluationWrapper evaluation)
        {
            if (!string.IsNullOrWhiteSpace(evaluation.Expression))
            {
                Caption = Invariant($"{Resources.VariableGrid_Caption}: {evaluation.Expression}");
            }

            _gridHost.SetEvaluation(evaluation);
        }