16. // こんなクラスや
public class Foo : BatchBase
{
// こんなメソッドや
public void Echo(string msg)
{
this.Context.Logger.LogInformation(msg);
}
// こんなメソッドを
public void Sum(int x, int y)
{
this.Context.Logger.LogInformation($"{x + y}");
}
}
// こんなクラスを
public class Bar : BatchBase
{
public void Hello2()
{
this.Context.Logger.LogInformation("H E L L O");
}
}