Interface IContext
Interface IContext
Namespace: ISynergy.Framework.Core.Abstractions
Assembly: ISynergy.Framework.Core.dll
Syntax
public interface IContext
Properties
View SourceCurrencyCode
Gets or sets the currency code.
Declaration
string CurrencyCode { get; set; }
Property Value
Type | Description |
---|---|
System.String | The currency code. |
CurrencySymbol
Gets or sets the currency symbol.
Declaration
string CurrencySymbol { get; set; }
Property Value
Type | Description |
---|---|
System.String | The currency symbol. |
Environment
Gets or sets the environment.
Declaration
SoftwareEnvironments Environment { get; set; }
Property Value
Type | Description |
---|---|
SoftwareEnvironments | The environment. |
IsAuthenticated
Gets a value indicating whether this instance is authenticated.
Declaration
bool IsAuthenticated { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsOffline
Gets or sets a value indicating whether this instance is offline.
Declaration
bool IsOffline { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsUserAdministrator
Gets a value indicating whether this instance is user administrator.
Declaration
bool IsUserAdministrator { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
NumberFormat
Gets or sets the number format.
Declaration
NumberFormatInfo NumberFormat { get; set; }
Property Value
Type | Description |
---|---|
NumberFormatInfo | The number format. |
Profile
Gets or sets the current profile.
Declaration
IProfile Profile { get; set; }
Property Value
Type | Description |
---|---|
IProfile | The current profile. |
ScopedServices
Gets the service scopes.
Declaration
IServiceScope ScopedServices { get; set; }
Property Value
Type | Description |
---|---|
IServiceScope |
TimeZone
Gets the current time zone.
Declaration
TimeZoneInfo TimeZone { get; }
Property Value
Type | Description |
---|---|
TimeZoneInfo | The current time zone. |