Class QueryableHandlerExpression
- Namespace
- JsonApiDotNetCore.Queries.Expressions
- Assembly
- JsonApiDotNetCore.dll
Holds an IQueryable<T> expression, used for custom query string handlers from IResourceDefinition<TResource, TId>s.
[PublicAPI]
public class QueryableHandlerExpression : QueryExpression
- Inheritance
-
QueryableHandlerExpression
- Inherited Members
Constructors
QueryableHandlerExpression(object, StringValues)
public QueryableHandlerExpression(object queryableHandler, StringValues parameterValue)
Parameters
queryableHandler
objectparameterValue
StringValues
Methods
Accept<TArgument, TResult>(QueryExpressionVisitor<TArgument, TResult>, TArgument)
public override TResult Accept<TArgument, TResult>(QueryExpressionVisitor<TArgument, TResult> visitor, TArgument argument)
Parameters
visitor
QueryExpressionVisitor<TArgument, TResult>argument
TArgument
Returns
- TResult
Type Parameters
TArgument
TResult
Apply<TResource>(IQueryable<TResource>)
public IQueryable<TResource> Apply<TResource>(IQueryable<TResource> query) where TResource : class, IIdentifiable
Parameters
query
IQueryable<TResource>
Returns
- IQueryable<TResource>
Type Parameters
TResource
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToFullString()
public override string ToFullString()
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.