Namespace Serenity.Global.Application.Interfaces
Interfaces
IAppReadinessGate
App readiness gate.
It blocks until the system is preloaded and stable to execute the first scene/action.
IAssetLoadingModeProvider
Business-layer contract for components that need to know which SerenityAssetLoadingMode is active for the current session. Consumers depend on this interface rather than the concrete provider so the mode source can be swapped (e.g. test doubles, alternative bootstrap mechanisms) without touching the consumer.
IAssetLocator
Interface for locating and loading assets by token and type.
IAsyncQueryUseCase<TOutput>
Interface representing an asynchronous query without input and with output.
IAsyncUseCase
Interface representing an asynchronous use case without input or output.
IAsyncUseCase<TInput>
Interface representing an asynchronous use case with input and no output.
IAsyncUseCase<TInput, TOutput>
Interface representing an asynchronous use case with input and output.
IComponentParameters
Interface representing parameters associated with a UI component.
IController
Interface representing a controller with enable and disable functionality.
IGlobalService
Interface representing global application services.
IGlobalServiceFactory
Factory interface for creating instances of IGlobalService.
IInstaller
Interface representing an installer for setting up application components or services.
IService
Interface representing a generic service within the application.
ISyncQueryUseCase<TOutput>
Interface representing a synchronous query without input and with output.
ISyncUseCase
Interface representing a synchronous use case without input or output.
ISyncUseCase<TInput>
Interface representing a synchronous use case with input and no output.
ISyncUseCase<TInput, TOutput>
Interface representing a synchronous use case with input and output.
IUseCase
Marker interface for all use cases.
IViewBase
Interface representing a base view with show and hide functionality.
IViewModel
Interface representing a view model in the application.
IViewProvider
Implemented by a subsystem that owns top-level views and can show them by id (e.g. the menu service, the composite-view service). A IViewRouter queries a set of providers to show any view by id without knowing which subsystem owns it.
IViewRouter
Top-level router that shows a view by id across all registered IViewProviders, regardless of which subsystem owns it (menu, custom view, …). It also knows the application's initial/root view, so the boot path and the return-to-menu-after-gameplay path can show it without assuming it is a menu.