Dover Framework
 All Classes Namespaces Functions Variables Properties Pages
Public Member Functions | List of all members
Dover.Framework.Application Class Reference

Main entry point for the Dover Framework. During Application creation all resources are configured and assembly dependencies are registered in the AppDomain. More...

Inherits MarshalByRefObject.

Public Member Functions

void ShutDownApp ()
 Release all resources. More...
 
T[] ResolveAll< T > ()
 Return an array of all implementations for an specific service. More...
 
Resolve< T > ()
 Return the default implementation for an specific service. More...
 
void Run ()
 Start point for Dover Addon. More...
 

Detailed Description

Main entry point for the Dover Framework. During Application creation all resources are configured and assembly dependencies are registered in the AppDomain.

If you do not want to run it inside SAP Business One UI API, you can create an Application object and resolve your business logic service class using the Resolve<> method.

Be aware that doing this, you need to register your custom SAP Business One DI API resolver in Dover.Framework.Container.ContainerManager.

Member Function Documentation

T Dover.Framework.Application.Resolve< T > ( )
inline

Return the default implementation for an specific service.

Template Parameters
TType of service.
Returns
Object implementation registered on IoC container.
T [] Dover.Framework.Application.ResolveAll< T > ( )
inline

Return an array of all implementations for an specific service.

Template Parameters
TType of the service.
Returns
Array of all implementations for the specified service.
void Dover.Framework.Application.Run ( )
inline

Start point for Dover Addon.

void Dover.Framework.Application.ShutDownApp ( )
inline

Release all resources.


The documentation for this class was generated from the following file: