command pattern

This commit is contained in:
2023-07-10 17:38:39 +09:00
parent 9014a94372
commit 3d26bffc07
15 changed files with 603 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CommandPatternSample.Model
{
internal class Emp
{
public string Name { get; set; }
public string Job { get; set; }
public override string ToString()
{
return $"[ {this.Name}, {this.Job} ]";
}
}
}