Closed kevincheng201903 closed 3 years ago
room = new Room(id, WechatyInstance, Puppet, _loggerForRoom, _name);
/// <summary>
/// init <see cref="Room"/>
/// </summary>
/// <param name="id"></param>
/// <param name="wechaty"></param>
/// <param name="logger"></param>
/// <param name="name"></param>
public Room([DisallowNull] string id,
[DisallowNull] Wechaty wechaty,
[DisallowNull] ILogger<Room> logger,
[AllowNull] string? name = null) : base(wechaty, logger, name)
{
Id = id;
if (Logger.IsEnabled(LogLevel.Trace))
{
Logger.LogTrace($"constructor({Id})");
}
}
there are only four arguments in the Room constructor class,but you init the Room class with five arguments in RoomRepository class
I‘ve tried , the same error. I think it should be change like below.
temporarily resolved at #9
@kevincheng201903 wechaty 已更新,而且已出了一个基础版的dotnet-wechaty-getting-started 可以使用 https://github.com/wechaty/dotnet-wechaty-getting-started