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; }
RoleLinks
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; }
DashboardLink
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
Type | Name |
---|---|
ServiceStack.AdminUiFeature | feature |
ServiceStack.LinkInfo | link |
BeforePluginsLoaded(IAppHost)
View Source
Declaration
public void BeforePluginsLoaded(IAppHost appHost)
Parameters
Type | Name |
---|---|
ServiceStack.IAppHost | appHost |
Register(IAppHost)
View Source
Declaration
public void Register(IAppHost appHost)
Parameters
Type | Name |
---|---|
ServiceStack.IAppHost | appHost |
AfterPluginsLoaded(IAppHost)
View Source
Declaration
public void AfterPluginsLoaded(IAppHost appHost)
Parameters
Type | Name |
---|---|
ServiceStack.IAppHost | appHost |