Beispiel #1
0
 public Startup()
 {
     using (var startup = new XStartup())
     {
         startup.DoStartup();
     }
 }
Beispiel #2
0
        public void Init()
        {
            //RuntimeServPools.TryAddSingleton<IMapper, CastingMapper>();

            using (var startup = new XStartup())
            {
                startup.DoStartup();
            }
        }