LookupValueListResolver class

Represents a special case of IValueListResolver which returns the list of values for the lookup fields. Implements the Korzh.EasyQuery.Services.IValueListResolver

public class Korzh.EasyQuery.Services.LookupValueListResolver
    : IValueListResolver

Package: Korzh.EasyQuery (targets: netstandard2.0)

Assembly: Korzh.EasyQuery.dll

Constructors

Name Type Description
LookupValueListResolver(Func<string, object> contextResolver) void Initializes a new instance of the Korzh.EasyQuery.Services.LookupValueListResolver class.

Methods

Name Type Description
GetListForContext(object context, string attrId) IEnumerable<ListItem> Gets the list for the context type.
TryGetValues(ListRequestOptions options, IEnumerable1&result) |bool` Gets the list of values by the value editor specified in the parameter.