Rev. | 0c1c33e7a727e2a0a704ad2e9da75ff9548c690f |
---|---|
Tamanho | 863 bytes |
Hora | 2022-08-16 00:29:18 |
Autor | yoshy |
Mensagem de Log | initial revision.
|
using CleanAuLait.Adaptor.Controller.DI;
using CleanAuLait.Core.Resource;
using NLog;
using Prism.Ioc;
using Prism.Modularity;
namespace CleanAuLait
{
public class CleanAuLaitPrismModule : IModule
{
private static readonly ILogger logger = LogManager.GetCurrentClassLogger();
public void RegisterTypes(IContainerRegistry containerRegistry)
{
//
// Request Scope
//
containerRegistry.RegisterSingleton<IRequestScopeGenerator, RequestScopeGenerator>();
///
/// Resources
///
containerRegistry.RegisterSingleton<ICaptionFormatter, CaptionFormatter>();
logger.Trace("RegisterTypes end");
}
public void OnInitialized(IContainerProvider containerProvider)
{
// NOP
}
}
}