public IndexModel(ActQueries actQueries, ActCommands actCommands, ContentQueries contentQueries, ContentCommands contentCommands) { this.actQueries = actQueries; this.actCommands = actCommands; this.contentQueries = contentQueries; this.contentCommands = contentCommands; }
public UpdateItemCommandHandler( ContentfulClientsFactory factory, ContentsConverter converter, ContentQueries query) { _factory = factory ?? throw new ArgumentNullException(nameof(factory)); _converter = converter ?? throw new ArgumentNullException(nameof(converter)); _query = query ?? throw new ArgumentNullException(nameof(query)); }
public CommonForumInfo() { _forumQueries = DependencyResolver.Current.GetService<ForumQueries>(); _orgQueries = DependencyResolver.Current.GetService<OrganizationQueries>(); _categoryQueries = DependencyResolver.Current.GetService<CategoryQueries>(); _userQueries = DependencyResolver.Current.GetService<UserQueries>(); _contentQueries = DependencyResolver.Current.GetService<ContentQueries>(); _tagQueries = DependencyResolver.Current.GetService<TagQueries>(); }
public ContentsService( IMediator mediator, ContentQueries query, IProfiler profiler, ContentsConverter converter) { _mediator = mediator ?? throw new ArgumentNullException(nameof(mediator)); _query = query ?? throw new ArgumentNullException(nameof(query)); _profiler = profiler ?? throw new ArgumentNullException(nameof(profiler)); _converter = converter ?? throw new ArgumentNullException(nameof(converter)); }
public ContentController(ContentQueries contentQueries) { _contentQueries = contentQueries; }