Skip to main content

UiFeature

Assembly: ServiceStack.dll
View Source
Declaration
public class UiFeature : IPlugin, IPreInitPlugin, IPostInitPlugin, IHasStringId, IHasId<string>

Properties

Id

View Source
Declaration
public string Id { get; }

Info

View Source
Declaration
public UiInfo Info { get; set; }

HtmlModules

View Source
Declaration
public List<HtmlModule> HtmlModules { get; }

AdminHtmlModule

View Source
Declaration
public HtmlModule AdminHtmlModule { get; set; }

AdminUi

View Source
Declaration
public AdminUiFeature AdminUi { get; set; }

Links to make available to users in different roles (e.g. in built-in UIs)

View Source
Declaration
public Dictionary<string, List<LinkInfo>> RoleLinks { get; set; }
View Source
Declaration
public LinkInfo DashboardLink { get; set; }

Handlers

View Source
Declaration
public List<IHtmlModulesHandler> Handlers { get; set; }

Module

View Source
Declaration
public HtmlModulesFeature Module { get; }

Configure

View Source
Declaration
public Action<IAppHost> Configure { get; set; }

PreserveAttributesNamed

Only Attributes used in built-in UIs are returned in /metadata/app.json

View Source
Declaration
public List<string> PreserveAttributesNamed { get; set; }

Methods

AddAdminLink(AdminUiFeature, LinkInfo)

View Source
Declaration
public void AddAdminLink(AdminUiFeature feature, LinkInfo link)
Parameters
TypeName
ServiceStack.AdminUiFeaturefeature
ServiceStack.LinkInfolink

BeforePluginsLoaded(IAppHost)

View Source
Declaration
public void BeforePluginsLoaded(IAppHost appHost)
Parameters
TypeName
ServiceStack.IAppHostappHost

Register(IAppHost)

View Source
Declaration
public void Register(IAppHost appHost)
Parameters
TypeName
ServiceStack.IAppHostappHost

AfterPluginsLoaded(IAppHost)

View Source
Declaration
public void AfterPluginsLoaded(IAppHost appHost)
Parameters
TypeName
ServiceStack.IAppHostappHost

Implements