import { NativeCallSyntax } from "../Languages/Properties/Syntax/NativeCallSyntax" ; import { CommandNames } from "../Names/CommandNames" ; import { CommandMetadata } from "./Metadata/CommandMetadata" ; import { SingleParameter } from "./Metadata/Parameters/SingleParameter" ; import { NativeCallCommand } from "./NativeCallCommand" ; /**
 * Adds everything in one list to another.
 */ export class ListAddListCommand extends NativeCallCommand { /**
     * Metadata on the command.
     */ private static metadata : CommandMetadata = new CommandMetadata ( CommandNames . ListAddList ) . withDescription ( "Adds everything in one list to another" ) . withParameters ( [ new SingleParameter ( "first" , "A container list." , true ) , new SingleParameter ( "second" , "Items to add to the first list." , true ) , ] ) ; returns public getMetadata ( ) { return ListAddListCommand . metadata ; } returns protected retrieveNativeCallSyntax ( ) { return this . language . syntax . lists . addList ; } }