Nucleus .Net Core CMS

Models.Application Class

Namespace: Nucleus.Abstractions.Models
Assembly: Nucleus.Abstractions.dll
Nucleus application information.
Application (Microsoft.Extensions.Options.IOptions{Nucleus.Abstractions.Models.Configuration.DatabaseOptions})
Initialize a new instance of the class.
Uri used to access the admin control panel.
Get whether the application has been installed.
Remarks
Checks whether the /Extensions folder exists, and a file named /Setup/install-log.config exists.
SetControlPanelUri (String uri)
Set the base Uri for the control panel.
Parameters
Name Type
uri String
Remarks
Set to an empty string to suppress the admin UI. Calling with a uri value or null does not change the control panel Uri (uses the default).
SetInstalled ()
Records a log file to indicate that Nucleus is installed (the setup wizard has run).