public FineApi(
     IRepository<User, UserDataModel, Guid> userRepository,
     IRepository<Payment, PaymentDataModel, Guid> paymentRepository,
     IFineMapper fineMapper,
     IUserMapper userMapper,
     IPaymentMapper paymentMapper,
     IExcelExportService<FineExportModel> excelExportService, 
     IChannelApi channelApi, 
     IUserApi userApi, 
     IGroupsApi groupApi, 
     IChatApi chatApi, 
     IReactionApi reactionApi)
 {
     this.userRepository = userRepository;
     this.paymentRepository = paymentRepository;
     this.fineMapper = fineMapper;
     this.userMapper = userMapper;
     this.paymentMapper = paymentMapper;
     this.excelExportService = excelExportService;
     this.channelApi = channelApi;
     this.userApi = userApi;
     this.groupApi = groupApi;
     this.chatApi = chatApi;
     this.reactionApi = reactionApi;
 }
 public UserInfoExampleResponder(IChannelApi channelApi, IUserApi userApi)
 {
     this.channelApi = channelApi;
     this.userApi = userApi;
 }
 public static async Task <Statuses> AddListenerAsync(this IChannelApi api, GoogleApiClient client, IChannelApiChannelListener listener)
 {
     return((await api.AddListener(client, listener)).JavaCast <Statuses> ());
 }
示例#4
0
 public ChannelResponder(IChannelApi channelApi)
 {
     this.m_ChannelApi = channelApi;
 }