Interface IGlobalService
Interface representing global application services.
Inherited Members
Namespace: Serenity.Global.Application.Interfaces
Assembly: Serenity.Global.Application.dll
Syntax
public interface IGlobalService : IService, IFoundationSettings
Methods
ExitApplication()
Exits the application.
Declaration
void ExitApplication()
Initialize(IEventDispatcherService, string, ILogService)
Initializes the global service.
Declaration
void Initialize(IEventDispatcherService eventDispatcherService, string initialSceneName, ILogService logService)
Parameters
| Type | Name | Description |
|---|---|---|
| IEventDispatcherService | eventDispatcherService | Event dispatcher service for global communication |
| string | initialSceneName | Name of the initial scene for restart functionality |
| ILogService | logService | The log service for logging information. |
RestartApplication()
Restarts the application.
Declaration
void RestartApplication()