Class AppContext
Implements methods for the application context.
Inheritance
System.Object
AppContext
Assembly: Mediachase.Commerce.dll
Version: 14.26.0
Syntax
public class AppContext : Object
Properties
ApplicationName
Gets the application name.
Declaration
public string ApplicationName { get; set; }
Property Value
Type |
Description |
System.String |
|
AzureCompatible
Gets the flag to indicate whether this Commerce application is azure compatible or not.
Declaration
public bool AzureCompatible { get; }
Property Value
Type |
Description |
System.Boolean |
|
Current
Declaration
public static AppContext Current { get; }
Property Value
Methods
GetApplicationDto()
Declaration
public AppDto GetApplicationDto()
Returns
GetApplicationDto(String)
Declaration
public AppDto GetApplicationDto(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
GetProductName()
Declaration
public static string GetProductName()
Returns
Type |
Description |
System.String |
|
GetProductVersion()
Declaration
public static string GetProductVersion()
Returns
Type |
Description |
System.String |
|
SaveApp(AppDto)
Declaration
public void SaveApp(AppDto dto)
Parameters
Type |
Name |
Description |
AppDto |
dto |
|