public PaginatedLinksHeader( string baseRoute, OperationLinks operationLinks, RelationLinks relationLinks, PaginationMetadata pagination, IFilterMetadataProvider filterMetadata = null ) { _operationLinks = ThrowIf.Null(operationLinks, nameof(operationLinks)); _relationLinks = relationLinks; _baseRoute = ThrowIf.NullOrWhiteSpace(baseRoute, nameof(baseRoute)); _pagination = ThrowIf.Null(pagination, nameof(pagination)); _filterMetadata = filterMetadata ?? new NoFilterMetadata(); }
public CrudLinksHeader(OperationLinks operationLinks, RelationLinks relationLinks) { OperationLinks = ThrowIf.Null(operationLinks, nameof(operationLinks)); RelationLinks = relationLinks; }