Пример #1
0
        public override void Startup()
        {
            OlliixEngine.Init()
            .UseProductSqlServer()
            .Start();

            base.Startup();
        }
Пример #2
0
        public override void Startup()
        {
            OlliixEngine.Init()
            .UseProductAPI()
            .AsUnitTestApiClient()
            .Start();

            base.Startup();
        }
Пример #3
0
 public Startup(IConfiguration configuration)
     : base(configuration)
 {
     OlliixEngine.Init(configuration, o =>
     {
         o.ResourceName = RESOURE_NAME;
         o.UseRabbitMQ  = true;
     })
     .UseProductRedis()
     .UseProductSqlServer()
     .UseProductES()
     .UseProductDF()
     .UseProductDomain()
     .UseQuartz()
     .Start();
 }