Exemplo n.º 1
0
 public BoardModel(
     IpHasherFactory ipHasherFactory,
     TripCodeHasher tripCodeHasher,
     ICookieStorage cookieStorage,
     IGetIp getIp,
     IThreadService threadService,
     IPostService postService,
     IBannedImageLogger bannedImageLogger,
     IUploadMapper uploadMapper)
 {
     this.ipHasher          = ipHasherFactory.GetHasher();
     this.tripCodeHasher    = tripCodeHasher;
     this.cookieStorage     = cookieStorage;
     this.getIp             = getIp;
     this.threadService     = threadService;
     this.postService       = postService;
     this.bannedImageLogger = bannedImageLogger;
     this.uploadMapper      = uploadMapper;
 }
Exemplo n.º 2
0
 public RecaptchaAttribute(IRecaptchaVerifier recaptchaVerifier, IGetCaptchaValue getCaptchaValue, IGetIp getIp)
 {
     this.recaptchaVerifier = recaptchaVerifier;
     this.getCaptchaValue   = getCaptchaValue;
     this.getIp             = getIp;
 }
Exemplo n.º 3
0
 public BannedModel(IUserService userService, IIpHasher hasher, IGetIp getIp)
 {
     this.userService = userService;
     this.hasher      = hasher;
     this.getIp       = getIp;
 }