Skip to content

IDialogAddonProvider interface

namespace: Serenity.Extensions   assembly: Serenity.Extensions

Gives the addons of the dialogs of an entity type, e.g. the history tab of the audit log, for the user of a request. Any number of them can be registered, e.g. with services.TryAddEnumerable(ServiceDescriptor.Singleton<IDialogAddonProvider, MyProvider>()).

public interface IDialogAddonProvider

Members

name description
GetAddons(…) Gets the addons of the dialogs of an entity type that the user may see. Only the permitted ones should be returned, as the client shows what it gets.

See Also