Table of Contents

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

bool

Lang

Gets or sets the current application language.

public static LangsShared Lang { get; set; }

Property Value

LangsShared

Name

Gets or sets the application name.

public static string Name { get; set; }

Property Value

string

Namespace

Gets or sets the application namespace.

public static string Namespace { get; set; }

Property Value

string

Resources

Gets or sets the shared resources instance.

public static ResourcesShared Resources { get; set; }

Property Value

ResourcesShared

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

messageType TypeOfMessageShared

The type of the status message.

status string

The status format string.

args string[]

The format arguments.

Events

StatusSetted

Occurs when the application status is set.

public static event Action<TypeOfMessageShared, string>? StatusSetted

Event Type

Action<TypeOfMessageShared, string>