public WechatyBotService(IPuppetDataService puppetService, ContactAppService _contact, MessageAppService _message, RoomAppService _room, TagAppService _tag, FavoriteAppService _favorite, ImageAppService _image, FriendshipAppService _friendship, RoomInvitationAppService _roomInvitation, UrlLinkAppService _urlLink ) { _puppetService = puppetService; Logger = NullLogger <WechatyBotService> .Instance; Contact = _contact; Message = _message; Room = _room; Tag = _tag; Favorite = _favorite; Image = _image; Friendship = _friendship; RoomInvitation = _roomInvitation; UrlLink = _urlLink; }
public ContactManager(IPuppetDataService puppetService, IDistributedCache <ContactPayload> cacheContactPayload) { _puppetService = puppetService; _cacheContactPayload = cacheContactPayload; }