Exemplo n.º 1
0
 public OwnerCommand(
     IGetActivePollByMessageId getActivePollByMessageId,
     IGetRaidByIdQuery getRaidByIdQuery,
     IGetUserByIdQuery getUserByIdQuery
     )
 {
     this.getActivePollByMessageId = getActivePollByMessageId;
     this.getRaidByIdQuery         = getRaidByIdQuery;
     this.getUserByIdQuery         = getUserByIdQuery;
 }
Exemplo n.º 2
0
 public UpdateRaidBossCommand(
     IGetActivePollByMessageId getActivePollByMessageId,
     IGetRaidByIdQuery getRaidByIdQuery,
     IGetUserByIdQuery getUserByIdQuery,
     IUpdateRaidsCommand updateRaidsCommand
     )
 {
     this.getActivePollByMessageId = getActivePollByMessageId;
     this.getRaidByIdQuery         = getRaidByIdQuery;
     this.getUserByIdQuery         = getUserByIdQuery;
     this.updateRaidsCommand       = updateRaidsCommand;
 }
Exemplo n.º 3
0
 public UserService(IDeleteUserCommand deleteUserCommand,
                    IUpdateUserCommand updateUserCommand,
                    ICreateUserCommand createUserCommand,
                    IGetUserByIdQuery getUserByIdQuery,
                    IGetAllNonDeletedUsersQuery getAllNonDeletedUsersQuery,
                    IGetUserByUsernameQuery getUserByUsernameQuery, 
                    IGetUserByEmailQuery getUserByEmailQuery)
 {
     _deleteUserCommand = deleteUserCommand;
     _updateUserCommand = updateUserCommand;
     _createUserCommand = createUserCommand;
     _getUserByIdQuery = getUserByIdQuery;
     _getAllNonDeletedUsersQuery = getAllNonDeletedUsersQuery;
     _getUserByUsernameQuery = getUserByUsernameQuery;
     _getUserByEmailQuery = getUserByEmailQuery;
 }