public PagesCountArgs( PostTypeDto postType, int perPage, PublishStatus publishStatus = PublishStatus.Any, FrontPageStatus frontPageStatus = FrontPageStatus.Any, ItemAvailableStatus itemAvailableStatus = ItemAvailableStatus.Any ) : this(postType, null, perPage, publishStatus, frontPageStatus, itemAvailableStatus) { }
protected PostArgs( PublishStatus publishStatus = PublishStatus.Any, FrontPageStatus frontPageStatus = FrontPageStatus.Any, ItemAvailableStatus itemAvailableStatus = ItemAvailableStatus.Any ) { PublishStatus = publishStatus; FrontPageStatus = frontPageStatus; ItemAvailableStatus = itemAvailableStatus; }
public PagesCountArgs( PostTypeDto postType, CategoryDto category, int perPage, PublishStatus publishStatus = PublishStatus.Any, FrontPageStatus frontPageStatus = FrontPageStatus.Any, ItemAvailableStatus itemAvailableStatus = ItemAvailableStatus.Any ) : base(publishStatus, frontPageStatus, itemAvailableStatus) { PostType = postType; Category = category; PerPage = perPage; }
public PostsGetterArgs( Guid?categoryId, int page, int perPage, PostTypeDto postType, IEnumerable <CategoryDto> excludedCategories = null, bool sortByPublish = true, PublishStatus publishStatus = PublishStatus.Any, FrontPageStatus frontPageStatus = FrontPageStatus.Any, ItemAvailableStatus itemAvailableStatus = ItemAvailableStatus.Any ) : base(publishStatus, frontPageStatus, itemAvailableStatus) { CategoryId = categoryId; Page = page; PerPage = perPage; PostType = postType; ExcludedCategories = excludedCategories; SortByPublish = sortByPublish; }