Classes implementing this interface can be used to provide dynamic select options to back office select lists instead of constant select options. The instance will be retrieved from the DI container if registered, otherwise will be activated directly. If constant compile-time options are provided for a select list, the dynamic select options will be added to the constant list.

public interface ISelectOptionsProvider

Methods

GetOptionsAsync() This method provides select options to a select list property. The list should be cached when possible.
In this article