public CategoryViewProvider( ICategoryStore <Category> categoryStore, IFeatureFacade featureFacade) { _categoryStore = categoryStore; _featureFacade = featureFacade; }
public CategoryInputViewComponent( ICategoryStore <CategoryBase> channelStore, IFeatureFacade featureFacade) { _channelStore = channelStore; _featureFacade = featureFacade; }
public DefaultCategoryRolesManager( ICategoryStore <TCategory> categoryStore, IDbHelper dbHelper) { _categoryStore = categoryStore; _dbHelper = dbHelper; }
public SessionStore() { speakerStore = DependencyService.Get <ISpeakerStore>(); favoriteStore = DependencyService.Get <IFavoriteStore>(); categoryStore = DependencyService.Get <ICategoryStore>(); feedbackStore = DependencyService.Get <IFeedbackStore>(); }
public TopicViewProvider( IStringLocalizer stringLocalizer, IEntityCategoryStore <EntityCategory> entityCategoryStore, ICategoryDetailsUpdater categoryDetailsUpdater, IEntityCategoryManager entityCategoryManager, IHttpContextAccessor httpContextAccessor, ICategoryStore <Category> categoryStore, IBreadCrumbManager breadCrumbManager, IPostManager <Topic> entityManager, IEntityStore <Topic> entityStore, IFeatureFacade featureFacade, IContextFacade contextFacade) { _request = httpContextAccessor.HttpContext.Request; _entityCategoryManager = entityCategoryManager; _categoryDetailsUpdater = categoryDetailsUpdater; _entityCategoryStore = entityCategoryStore; _breadCrumbManager = breadCrumbManager; _featureFacade = featureFacade; _entityManager = entityManager; _contextFacade = contextFacade; _categoryStore = categoryStore; _entityStore = entityStore; T = stringLocalizer; S = stringLocalizer; }
public WorkshopStore(ISpeakerStore speakerStore, ICategoryStore categoryStore, IFavoriteStore favoriteStore, IFeedbackStore feedbackStore) { _speakerStore = speakerStore; _favoriteStore = favoriteStore; _categoryStore = categoryStore; _feedbackStore = feedbackStore; }
public CategoryCommand(ICategoryStore store, ICategoryCache cache) { Ensure.Any.IsNotNull(store, nameof(store)); Ensure.Any.IsNotNull(cache, nameof(cache)); _store = store; _cache = cache; }
public IssueListItemViewAdapter( ICategoryStore <Category> categoryStore, IFeatureFacade featureFacade) { _categoryStore = categoryStore; _featureFacade = featureFacade; ViewName = "IssueListItem"; }
public ModerationViewAdapterProvider( ICategoryStore <Category> channelStore, IHtmlLocalizer htmlLocalizer) { _channelStore = channelStore; T = htmlLocalizer; ViewName = "ModeratorListItem"; }
public async static Task <List <Category> > GetCategoriesAsync(ICategoryStore categoryStore) { var response = await categoryStore.GetCategoriesAsync(); var coreCategoriesResponse = response.ToModel(); return(coreCategoriesResponse); }
/// <summary> /// Initializes a new instance of the <see cref="CategoryManager"/> class. /// </summary> /// <param name="store">The store that the <see cref="CategoryManager" /> operates against.</param> /// <exception cref="System.ArgumentNullException"></exception> public CategoryManager(ICategoryStore store) { if (store == null) { throw new ArgumentNullException(nameof(store)); } Store = store; }
public DocListItemViewAdapter( ICategoryStore <Category> channelStore, IFeatureFacade featureFacade) { _channelStore = channelStore; _featureFacade = featureFacade; ViewName = "DocListItem"; }
public CategoryViewProvider( IFollowStore <Follows.Models.Follow> followStore, ICategoryStore <Category> categoryStore, IContextFacade contextFacade) { _contextFacade = contextFacade; _categoryStore = categoryStore; _followStore = followStore; }
/// <summary> /// If disposing, calls dispose on the Context. Always nulls out the Context /// </summary> /// <param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources</param> protected virtual void Dispose(bool disposing) { if (disposing && Store != null) { // Store.Dispose(); } _disposed = true; Store = null; }
public EntitySubscriber( IBroker broker, ICategoryStore <Category> categoryStore, ICategoryDetailsUpdater categoryDetailsUpdater) { _broker = broker; _categoryStore = categoryStore; _categoryDetailsUpdater = categoryDetailsUpdater; }
public CategoryService( ICategoryStore <TModel> categoryStore, IContextFacade contextFacade) { _contextFacade = contextFacade; _categoryStore = categoryStore; // Default options delegate _configureDb = options => options.SearchType = SearchTypes.Tsql; }
public CategoryDetailsUpdater( ICategoryStore <Category> channelStore, ICategoryManager <Category> channelManager, IEntityStore <Question> entityStore, IEntityReplyStore <Answer> replyStore) { _channelStore = channelStore; _channelManager = channelManager; _entityStore = entityStore; _replyStore = replyStore; }
public CategoryDetailsUpdater( ICategoryStore <Category> channelStore, ICategoryManager <Category> channelManager, IEntityStore <Idea> entityStore, IEntityReplyStore <IdeaComment> replyStore) { _channelStore = channelStore; _channelManager = channelManager; _entityStore = entityStore; _replyStore = replyStore; }
public EntityReplySubscriber( IBroker broker, ICategoryStore <Category> channelStore, IEntityStore <Topic> topicStore, ICategoryDetailsUpdater categoryDetailsUpdater) { _broker = broker; _channelStore = channelStore; _topicStore = topicStore; _categoryDetailsUpdater = categoryDetailsUpdater; }
public CategoryDetailsUpdater( ICategoryStore <Category> channelStore, ICategoryManager <Category> channelManager, IEntityStore <Topic> topicStore, IEntityReplyStore <Reply> replyStore) { _channelStore = channelStore; _channelManager = channelManager; _topicStore = topicStore; _replyStore = replyStore; }
public CategoryDetailsUpdater( ICategoryManager <Category> categoryManager, ICategoryStore <Category> categoryStore, IEntityReplyStore <Comment> replyStore, IEntityStore <Issue> entityStore) { _categoryManager = categoryManager; _categoryStore = categoryStore; _entityStore = entityStore; _replyStore = replyStore; }
public EntityReplySubscriber( IBroker broker, ICategoryStore <Category> channelStore, IEntityStore <Idea> entityStore, ICategoryDetailsUpdater categoryDetailsUpdater) { _broker = broker; _channelStore = channelStore; _entityStore = entityStore; _categoryDetailsUpdater = categoryDetailsUpdater; }
public EntityReplySubscriber( ICategoryDetailsUpdater categoryDetailsUpdater, ICategoryStore <Category> categoryStore, IEntityStore <Issue> entityStore, IBroker broker) { _categoryDetailsUpdater = categoryDetailsUpdater; _categoryStore = categoryStore; _entityStore = entityStore; _broker = broker; }
public ModeratorViewProvider( IHttpContextAccessor httpContextAccessor, IModeratorStore <Moderator> moderatorStore, ICategoryStore <Category> channelStore, IFeatureFacade featureFacade) { _moderatorStore = moderatorStore; _channelStore = channelStore; _featureFacade = featureFacade; _request = httpContextAccessor.HttpContext.Request; }
public AdminViewProvider( IStringLocalizer <AdminViewProvider> stringLocalizer, ICategoryManager <Category> categoryManager, ICategoryStore <Category> categoryStore, IFeatureFacade featureFacade) { _categoryManager = categoryManager; _categoryStore = categoryStore; S = stringLocalizer; _featureFacade = featureFacade; }
public StoreManager(INotificationStore notificationStore, ICategoryStore categoryStore, IFavoriteStore favoriteStore, ISessionStore sessionStore, ISpeakerStore speakerStore, IEventStore eventStore, ISponsorStore sponsorStore, IFeedbackStore feedbackStore, IWorkshopStore workshopStore, IApplicationDataStore applicationDataStore) { _notificationStore = notificationStore; _categoryStore = categoryStore; _favoriteStore = favoriteStore; _sessionStore = sessionStore; _speakerStore = speakerStore; _eventStore = eventStore; _sponsorStore = sponsorStore; _feedbackStore = feedbackStore; _workshopStore = workshopStore; _applicationDataStore = applicationDataStore; }
public CategoryViewProvider( IContextFacade contextFacade, ICategoryStore <Category> categoryStore, ICategoryManager <Category> categoryManager, IFeatureFacade featureFacade, IActionContextAccessor actionContextAccessor) { _contextFacade = contextFacade; _categoryStore = categoryStore; _categoryManager = categoryManager; _featureFacade = featureFacade; _actionContextAccessor = actionContextAccessor; }
public ReplyViewProvider( IStringLocalizer <ReplyViewProvider> stringLocalizer, IEntityStore <Topic> entityStore, ICategoryStore <Category> channelStore, IBreadCrumbManager breadCrumbManager) { _entityStore = entityStore; _channelStore = channelStore; _breadCrumbManager = breadCrumbManager; T = stringLocalizer; S = stringLocalizer; }
public IdeaCommentViewProvider( IStringLocalizer <IdeaCommentViewProvider> stringLocalizer, IEntityStore <Idea> entityStore, ICategoryStore <Category> channelStore, IBreadCrumbManager breadCrumbManager) { _entityStore = entityStore; _channelStore = channelStore; _breadCrumbManager = breadCrumbManager; T = stringLocalizer; S = stringLocalizer; }
public AnswerViewProvider( IStringLocalizer <AnswerViewProvider> stringLocalizer, IEntityStore <Question> entityStore, ICategoryStore <Category> channelStore, IBreadCrumbManager breadCrumbManager) { _entityStore = entityStore; _channelStore = channelStore; _breadCrumbManager = breadCrumbManager; T = stringLocalizer; S = stringLocalizer; }