Namespace: Consultingwerk.Framework
Interface 
IServiceCreator Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implemented by: Consultingwerk.Framework.LazyLoadingServiceCreator

File:IServiceCreator
Purpose:Supports lazy loading of service requested from the
Service Container (Consultingwerk/get-service.i)
Description:Classes implementing the IServiceCreator interface may
act as a factory for services loaded at first request
rather than during application startup. The ServiceContainer
will call into the IServiceCreator registered as a service
to instantiate the service. As a logical consequence,
classes implementing the IServiceCreator interface can
never be used as an actual service - but that's a limitation
which is considered to be acceptable
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Jul 15 13:22:41 CEST 2015
Notes:http://msdn.microsoft.com/de-de/library/system.componentmodel.design.servicecreatorcallback(v=vs.110).aspx
SCL-573



Top Method Summary
Options Name Purpose
+ Progress.Lang.Object CreateInstance (Class) Creates a service instance


Method Detail
Top

PUBLIC Progress.Lang.Object CreateInstance (Class)

Purpose: Creates a service instance
Notes: Factory method for services referenced by the provided service type
(typically an interface)

Parameters:
poType Progress.Lang.Class
The service type to create an instance of
Returns Progress.Lang.Object
The created service instance


©2006-2019 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.08.2019 23:26:56