Skip to main content

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

Assembly: Korzh.EasyQuery.dll

Constructors

NameTypeDescription
LookupValueListResolver(Func<string, object> contextResolver)voidInitializes a new instance of the Korzh.EasyQuery.Services.LookupValueListResolver class.

Methods

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