Esempio n. 1
0
        /// <summary>
        /// 停止服务
        /// </summary>
        private void Stop()
        {
            FlowAdapter flowAdapter = _serviceProvider.GetRequiredService <FlowAdapter>();

            flowAdapter.Stop();
            FixedJobTask fixedJobTask = _serviceProvider.GetRequiredService <FixedJobTask>();

            fixedJobTask.Stop();
        }
Esempio n. 2
0
        /// <summary>
        /// 停止服务
        /// </summary>
        private void Stop()
        {
            DensityAdapter densityAdapter = _serviceProvider.GetRequiredService <DensityAdapter>();

            densityAdapter.Stop();
            FixedJobTask fixedJobTask = _serviceProvider.GetRequiredService <FixedJobTask>();

            fixedJobTask.Stop();
        }