public ForumsController(IForumsService service, IUsersService userService, ITopicsService topicService, ITagsService tagService) { _service = service; _userService = userService; _topicService = topicService; _tagService = tagService; }
public MessagesController(IMessagesService service, ITopicsService topicService, IUsersService userService, ITopicsSubscriptionsService topicSubscriptionService) { _service = service; _topicService = topicService; _topicSubscriptionService = topicSubscriptionService; _userService = userService; }
public TopicsController(ITopicsService service, IForumsService forumService, IUsersService userService, ITopicsSubscriptionsService topicSubscriptionService) { _service = service; _forumService = forumService; _userService = userService; _topicSubscriptionService = topicSubscriptionService; }
public AllTopicsController(ITopicsService topics, ICommentsService comments) { Guard.WhenArgument(topics, "topics").IsNull().Throw(); Guard.WhenArgument(comments, "comments").IsNull().Throw(); this.topics = topics; this.comments = comments; }
public AllCommentsController(ITopicsService topics, ICommentsService comments, IEfGenericRepository <ApplicationUser> repoUser) : base(repoUser) { Guard.WhenArgument(topics, "topics").IsNull().Throw(); Guard.WhenArgument(comments, "comments").IsNull().Throw(); this.topics = topics; this.comments = comments; }
public HomeController( ITopicsService topicsService, ICategoriesService categoriesService, IForumsService forumsService) { this.topicsService = topicsService; this.categoriesService = categoriesService; this.forumsService = forumsService; }
public AddTopicViewModel(Topic topic) { _topicService = new LocalTopicsService(); CurrentTopic = topic; _acceptCommand = new RelayCommand(async () => await SaveButtonPressed(), () => !string.IsNullOrWhiteSpace(_topicName)); FromTopic(topic); }
public TopicsViewModel() { _topicService = new LocalTopicsService(); _topics = new ObservableCollection<Topic>(); _closedTopics = new ObservableCollection<Topic>(); MessengerInstance.Register<TopicAddedMessage>(this, (t) => HandleTopicAdded(t.Topic)); MessengerInstance.Register<TopicUpdatedMessage>(this, (t) => HandleTopicUpdated(t.Topic)); }
public void Initialize() { this.subscriptionService = Substitute.For <ISubscriptionService>(); this.mailingService = Substitute.For <IMailingService>(); this.topicsService = Substitute.For <ITopicsService>(); this.logger = Substitute.For <ILogger <SubscriptionsController> >(); this.cut = new SubscriptionsController(this.subscriptionService, this.mailingService, this.topicsService, this.logger); this.MockControllerContext(requestScheme, requestHost); }
public SubscriptionsController(ISubscriptionService subscriptionService, IMailingService mailingService, ITopicsService topicsService, ILogger <SubscriptionsController> logger) { this.topicsService = topicsService; this.subscriptionService = subscriptionService; this.mailingService = mailingService; this.logger = logger; }
public ReportsController( ITopicsService topicsService, ITopicReportsService topicReportsService, IUsersService usersService, IUserReportsService userReportsService) { this.topicsService = topicsService; this.topicReportsService = topicReportsService; this.usersService = usersService; this.userReportsService = userReportsService; }
public HomeService(ITopicsService topics, IBrandsService brands, ICategoriesService categories, ISupplementsService supplements) { Guard.WhenArgument(topics, "topics").IsNull().Throw(); Guard.WhenArgument(brands, "brands").IsNull().Throw(); Guard.WhenArgument(categories, "categories").IsNull().Throw(); Guard.WhenArgument(supplements, "supplements").IsNull().Throw(); this.supplements = supplements; this.categories = categories; this.brands = brands; this.topics = topics; }
public DropDownListPopulator(ICategoriesService categories, IBrandsService brands, ITopicsService topics, ICacheService cache) { Guard.WhenArgument(topics, "topics").IsNull().Throw(); Guard.WhenArgument(brands, "brands").IsNull().Throw(); Guard.WhenArgument(categories, "categories").IsNull().Throw(); Guard.WhenArgument(cache, "cache").IsNull().Throw(); this.categories = categories; this.brands = brands; this.topics = topics; this.cache = cache; }
public TopicsController( ITopicsService topicsService, ICategoriesService categoriesService, ICloudinaryService cloudinaryService, ICommentsService commentsService, IUsersService usersService) { this.topicsService = topicsService; this.categoriesService = categoriesService; this.cloudinaryService = cloudinaryService; this.commentsService = commentsService; this.usersService = usersService; }
public SearchIndexBatchService(IForumsService forumsService, ISearchService searchService, ITopicsService topicsService) { _searchService = searchService; _topicsService = topicsService; _forumsService = forumsService; }
public TopicsAdministrationController(ITopicsService topics) { this.topics = topics; }
public TopicsController(SubscriptionsContext dbContext, ITopicsService topicsService) { this.topicsService = topicsService; }
public TopicsController(ITopicsService topics) { Guard.WhenArgument(topics, "topics").IsNull().Throw(); this.topics = topics; }
public VotesService(IRepository <TopicVote> topicVoteRepository, ITopicsService topicsService) { this.topicVoteRepository = topicVoteRepository; this.topicsService = topicsService; }
public UsersController(IUsersService service, ITopicsService topicService) { _service = service; _topicService = topicService; }
public TopicsController(ITopicsService topics, IUsersService users, ITopicSubmissionsService submissions) { this.topics = topics; this.users = users; this.submissions = submissions; }
public NotificationController(ILogger <NotificationController> logger, IMessageService messageService, ITopicsService topicsService) { this.logger = logger; this.messageService = messageService; this.topicsService = topicsService; }
public TopicsController(ITopicsService topicsService) { _topicsService = topicsService; }
public CategoriesController(ICategoriesService categoriesService, ITopicsService topicsService) { this.categoriesService = categoriesService; this.topicsService = topicsService; }