PsrContainerContentSearchExpressionByFieldT Method |
Returns an expression to filter by fields
Namespace:
PsrApi.Data
Assembly:
PsrApi (in PsrApi.dll) Version: 9.2.4.33163 (18.08.2025)+dec6f51c484240b8abaa8be3c442061ed610820b
Syntaxpublic Expression<Func<T, bool>> ContentSearchExpressionByField<T>(
string search,
bool exactSearch,
string field,
Guid legitimateId,
List<Guid> roles
)
Parameters
- search
- Type: SystemString
Search value - exactSearch
- Type: SystemBoolean
If the search should match exactly - field
- Type: SystemString
The field that should be searched ("" == all fields) - legitimateId
- Type: SystemGuid
Legitimate - roles
- Type: System.Collections.GenericListGuid
Roles
Type Parameters
- T
Return Value
Type:
ExpressionFuncT,
Boolean
See Also