• R/O
  • HTTP
  • SSH
  • HTTPS

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

File Info

Rev. 0c1c33e7a727e2a0a704ad2e9da75ff9548c690f
Tamanho 863 bytes
Hora 2022-08-16 00:29:18
Autor yoshy
Mensagem de Log

initial revision.
CleanAuLait から Prism 関連の実装を分離

Content

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
        }

    }
}