/// <summary> /// Recreates the arguments using a given mapping of loose objects. /// </summary> /// <param name="mapping">The mapping of the loose objects.</param> /// <returns>The remapped arguments.</returns> public Arguments Remap(IReadOnlyDictionary <LooseConfigurationObject, LooseConfigurationObject> mapping) { // Remap individual arguments using their remap method return(new Arguments(ArgumentsList.Select(argument => argument.Remap(mapping)).ToList())); }