Пример #1
0
 public MiunieChannel ConvertChannel(DiscordChannel c)
 => MiunieChannelConvertor.FromDiscordChannel(c);
Пример #2
0
 public EntityConvertor(MiunieUserService miunieUserService)
 {
     ChannelConvertor = new MiunieChannelConvertor();
     UserConvertor    = new MiunieUserConvertor(miunieUserService);
 }
Пример #3
0
 public EntityConvertor(IMiunieUserProvider miunieUserProvider)
 {
     ChannelConvertor = new MiunieChannelConvertor();
     UserConvertor    = new MiunieUserConverter(miunieUserProvider);
     GuildConvertor   = new MiunieGuildConvertor();
 }
Пример #4
0
 public MiunieChannel ConvertChannel(SocketGuildChannel c)
 => MiunieChannelConvertor.FromDiscordChannel(c);