Beispiel #1
0
 public TweetManager(IGlitterService glitterService, IMembershipService membershipService, IFollowManager followManager, IHashtagManager hashtagManager)
 {
     _glitterService    = glitterService;
     _membershipService = membershipService;
     _followManager     = followManager;
     _hashtagManager    = hashtagManager;
 }
Beispiel #2
0
 public DocViewProvider(
     IUserNotificationTypeDefaults userNotificationTypeDefaults,
     IDummyClaimsPrincipalFactory <User> claimsPrincipalFactory,
     IFollowManager <Plato.Follows.Models.Follow> followManager,
     IFollowStore <Plato.Follows.Models.Follow> followStore,
     INotificationManager <Doc> notificationManager,
     IAuthorizationService authorizationService,
     IHttpContextAccessor httpContextAccessor,
     IDeferredTaskManager deferredTaskManager,
     IPlatoUserStore <User> platoUserStore,
     IEntityStore <Doc> entityStore,
     IContextFacade contextFacade)
 {
     _userNotificationTypeDefaults = userNotificationTypeDefaults;
     _request = httpContextAccessor.HttpContext.Request;
     _claimsPrincipalFactory = claimsPrincipalFactory;
     _authorizationService   = authorizationService;
     _notificationManager    = notificationManager;
     _deferredTaskManager    = deferredTaskManager;
     _platoUserStore         = platoUserStore;
     _followManager          = followManager;
     _contextFacade          = contextFacade;
     _followStore            = followStore;
     _entityStore            = entityStore;
 }
Beispiel #3
0
 public FollowController(
     IFollowStore <Models.Follow> followStore,
     IFollowManager <Models.Follow> followManager)
 {
     _followStore   = followStore;
     _followManager = followManager;
 }
Beispiel #4
0
 public UserController(IUserManager userManager, IUserGroupManager userGroupManager, IUserNoteManager userNoteManager, IFollowManager followManager,
                       IEventManager eventManager, IFileManager fileManager)
 {
     _userManager      = userManager;
     _userGroupManager = userGroupManager;
     _userNoteManager  = userNoteManager;
     _followManager    = followManager;
     _eventManager     = eventManager;
     _fileManager      = fileManager;
 }
Beispiel #5
0
 public ReplyViewProvider(
     IFollowManager <Follows.Models.Follow> followManager,
     IFollowStore <Follows.Models.Follow> followStore,
     IAuthorizationService authorizationService,
     IEntityStore <Topic> entityStore,
     IContextFacade contextFacade)
 {
     _authorizationService = authorizationService;
     _followManager        = followManager;
     _contextFacade        = contextFacade;
     _entityStore          = entityStore;
     _followStore          = followStore;
 }
Beispiel #6
0
 public QuestionViewProvider(
     IFollowManager <Plato.Follows.Models.Follow> followManager,
     IFollowStore <Plato.Follows.Models.Follow> followStore,
     IAuthorizationService authorizationService,
     IHttpContextAccessor httpContextAccessor,
     IEntityStore <Question> entityStore,
     IContextFacade contextFacade)
 {
     _request = httpContextAccessor.HttpContext.Request;
     _authorizationService = authorizationService;
     _followManager        = followManager;
     _contextFacade        = contextFacade;
     _followStore          = followStore;
     _entityStore          = entityStore;
 }
 public FollowController(IFollowManager followManager, IUserManager userManager)
 {
     _followManager = followManager;
     _userManager   = userManager;
 }
Beispiel #8
0
 public FollowDTOManager(IFollowManager followManager,
                         IMapper mapper)
 {
     this.followManager = followManager;
     this.mapper        = mapper;
 }