protected override void OnPostApplyResponse()
        {
            CommandParameterGroup firstGroup = BodyCommandParameterGroupList.FirstOrDefault();

            Values = BodyCommandParameterGroupList.Select(currentGroup =>
            {
                TEntity entity = new TEntity();
                entity.ApplyFrom(currentGroup, firstGroup);

                return(entity);
            }).ToList();

            //if (ValueName == null)
            //    throw new InvalidOperationException("ValueName was not set and is null!");

            //if (BodyCommandParameterGroupList.Count == 0 || (ValueName == null && ParseMethod == null))
            //    Value = new List<TEntity>();

            //if (ParseMethod != null)
            //{
            //    CommandParameterGroup firstGroup = BodyCommandParameterGroupList.FirstOrDefault();
            //    Value = BodyCommandParameterGroupList.Select(currentGroup => ParseMethod(currentGroup, firstGroup)).ToList();
            //}
            //else
            //    Value = BodyCommandParameterGroupList.Select(cpg => cpg.GetParameterValue(ValueName).ChangeTypeInvariant(default(TEntity))).ToList();
        }
        protected override void OnPostApplyResponse()
        {
            if (ValueName == null)
            {
                throw new InvalidOperationException("ValueName was not set and is null!");
            }

            if (BodyCommandParameterGroupList.Count == 0 || ValueName == null)
            {
                Values = new List <TValue>();
            }

            Values = BodyCommandParameterGroupList.Select(cpg => cpg.GetParameterValue(ValueName).ChangeTypeInvariant(default(TValue))).ToList();
        }