Click or drag to resize
ISelectorControllerTViewModel Interface
Generic interface for WebAPI controllers, which provide data for angular Smart Drop-down list directive.

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 12.0.0
Syntax
C#
public interface ISelectorController<out TViewModel>
where TViewModel : new(), BaseSelectorViewModel

Type Parameters

TViewModel
Selector view model. Must be subclass of BaseSelectorViewModel class. Derived models contains specific object type properties that can be displayed in the Smart Drop-down list using item templates. Controller can handle different object types with same view model.
Methods
  NameDescription
Public methodGet(String, Int32)
Get view model according to ID and objType.
Public methodGet(String, String, Int32, Int32)
Gets list of view models that are containing name.
Top
See Also