PM.BLL/PMService.cs
/// <summary>
/// Builds the commands required for a Just Row workout
/// </summary>
/// <param name="splits">True if with splits, false if without</param>
/// <returns>Enumerable of the required commands</returns>
Builds the commands required for a Just Row workout
Builds the commands required for a Just Row workout
private static IEnumerable<ICommand> BuildJustRowWorkout(bool splits)
        {
            WorkoutType workoutType = splits ? WorkoutType.JustRowWithSplits : WorkoutType.JustRowNoSplits;
            return new List<ICommand>
            {
                new SetWorkoutTypeCommand(workoutType),
                new SetScreenStateCommand(ScreenType.Workout, ScreenValueWorkout.PrepareToRowWorkout)
            };
        }
private static IEnumerable < ICommand > BuildJustRowWorkout ( bool splits ) { WorkoutType workoutType = splits ? WorkoutType . JustRowWithSplits : WorkoutType . JustRowNoSplits ; return new List < ICommand > { new SetWorkoutTypeCommand ( workoutType ) , new SetScreenStateCommand ( ScreenType . Workout , ScreenValueWorkout . PrepareToRowWorkout ) } ; }
Builds the commands required for a Just Row workout
Builds the commands required for a Just Row workout
Enumerable of the required commands
Enumerable of the required commands
splits
bool
True if with splits, false if without
True if with splits false if without