Class WebApp
- Namespace
- SunamoShared.Essential
- Assembly
- SunamoShared.dll
Provides shared web application state and configuration.
public class WebApp
- Inheritance
-
WebApp
- Inherited Members
- Extension Methods
Properties
Initialized
Gets a value indicating whether the application has been initialized.
public static bool Initialized { get; }
Property Value
Lang
Gets or sets the current application language.
public static LangsShared Lang { get; set; }
Property Value
Name
Gets or sets the application name.
public static string Name { get; set; }
Property Value
Namespace
Gets or sets the application namespace.
public static string Namespace { get; set; }
Property Value
Resources
Gets or sets the shared resources instance.
public static ResourcesShared Resources { get; set; }
Property Value
Methods
SetStatus(TypeOfMessageShared, string, params string[])
Sets the application status with formatted arguments.
public static void SetStatus(TypeOfMessageShared messageType, string status, params string[] args)
Parameters
messageTypeTypeOfMessageSharedThe type of the status message.
statusstringThe status format string.
argsstring[]The format arguments.
Events
StatusSetted
Occurs when the application status is set.
public static event Action<TypeOfMessageShared, string>? StatusSetted