Esempio n. 1
0
 public CreateThreadUseCase(IRetrieveTagRepository tagRetriever, IRetrieveUserRepository userRetriever, IRetrieveAuthenticationRepository authRetriever, ICreateThreadRepository threadCreator)
 {
     this.tagRetriever  = tagRetriever;
     this.userRetriever = userRetriever;
     this.threadCreator = threadCreator;
     this.authRetriever = authRetriever;
 }
Esempio n. 2
0
 public CreateCommentUseCase(IRetrieveUserRepository userRetriever, IRetrieveThreadRepository threadRetriever, IRetrieveAuthenticationRepository authRetriever, ICreateCommentRepository commentCreator)
 {
     this.userRetriever   = userRetriever;
     this.threadRetriever = threadRetriever;
     this.commentCreator  = commentCreator;
     this.authRetriever   = authRetriever;
 }
Esempio n. 3
0
 public AuthenticateUserUseCase(IRetrieveUserRepository userRetriever, IHashPasswordService passwordHasher, ICreateAuthenticationRepository authCreator, IProvideAuthDuration authDurationProvider)
 {
     this.userRetriever        = userRetriever;
     this.passwordHasher       = passwordHasher;
     this.authCreator          = authCreator;
     this.authDurationProvider = authDurationProvider;
 }
Esempio n. 4
0
 public GetThreadsListUseCase(IRetrieveUserRepository userRetriever, IRetrieveAuthenticationRepository authRetriever, IRetrieveCommentRepository commentRetriever, IRetrieveThreadRepository threadRetriever, IRetrieveTagRepository tagRetriever)
 {
     this.authRetriever    = authRetriever;
     this.userRetriever    = userRetriever;
     this.threadRetriever  = threadRetriever;
     this.commentRetriever = commentRetriever;
     this.tagRetriever     = tagRetriever;
 }
 public FetchThreadCommentsUseCase(IRetrieveThreadRepository threadRetriever, IRetrieveCommentRepository threadCommentsRetriever, IRetrieveUserRepository userRetriever)
 {
     this.threadRetriever         = threadRetriever;
     this.threadCommentsRetriever = threadCommentsRetriever;
     this.userRetriever           = userRetriever;
 }
Esempio n. 6
0
 public CreateUserUseCase(ICreateUserRepository userCreator, IRetrieveUserRepository userRetriever, IHashPasswordService passwordHasher)
 {
     this.userCreator    = userCreator;
     this.userRetriever  = userRetriever;
     this.passwordHasher = passwordHasher;
 }