Class ApplicationContext
Inheritance
ApplicationContext
Assembly: LemonEdge.ClientCore.dll
Syntax
public class ApplicationContext : IApplicationContext
Constructors
ApplicationContext(IConfiguration, IModelViewer, IStreamedServiceStartup)
Declaration
public ApplicationContext(IConfiguration configuration, IModelViewer application, IStreamedServiceStartup startup)
Parameters
Properties
AddInLoaderHelper
AddInLoaderHelper used to ensure the proper loading of AddIns at application startup.
Declaration
public IAddInLoaderHelper AddInLoaderHelper { get; set; }
Property Value
Controller
The client application controller responsible for creating the main application along with new windows, popups, messages, etc.
IModelController
Declaration
public IModelController Controller { get; set; }
Property Value
FactoryInjector
Declaration
public IFactoryInjector FactoryInjector { get; set; }
Property Value
Methods
BuildServiceProvider()
Declaration
public IServiceProvider BuildServiceProvider()
Returns
ConfigureServices(ConnectionType?)
Declaration
public IServiceCollection ConfigureServices(ConnectionType? connectionType = null)
Parameters
Type |
Name |
Description |
ConnectionType? |
connectionType |
Optional: Dictates the services to add to the service collection based on the ConnectionType
the application is using. If null, both WebService and Database services will be added
|
Returns
Implements
Extension Methods