You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
510 B

2 years ago
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Command.Commands
{
internal class SimpleCommand : ICommand
{
private string _payload = string.Empty;
public SimpleCommand(string payload)
{
_payload = payload;
}
public void Execute()
{
Console.WriteLine( $"SimpleCommand: See, I can do simple things like printing ({_payload})");
}
}
}