private MultiValueBindingModel CreateMultiValueBindingModel(Binding binding, Argument arg, ArgumentEntity argEntity)
        {
            var mvbm = new MultiValueBindingModel();

            Fill(mvbm, binding, arg, argEntity);
            FillMulti(mvbm, binding, arg, argEntity);

            return(mvbm);
        }
        private void FillMulti(MultiValueBindingModel mvbm, Binding binding, Argument arg, ArgumentEntity argEntity)
        {
            for (int index = 0; index < argEntity.ValueCount; index++)
            {
                var singleValueBindingModel = CreateSingleValueBindingModel(binding, arg, argEntity, index);

                if (singleValueBindingModel.Value != null &&
                    !String.IsNullOrEmpty(singleValueBindingModel.Value.DisplayValue))
                {
                    // Nice for presentation of multiple values
                    singleValueBindingModel.Name = singleValueBindingModel.Value.DisplayValue;
                }

                singleValueBindingModel.Parent = mvbm;
                mvbm.Bindings.Add(singleValueBindingModel);
            }
        }