Пример #1
0
        private static void RunConveyor()
        {
            var supplier = new JsonFileDiapasonSupplier("./ratesdiapason.json");

            Conveyor.Init(mLogger)
            .ScanForBlueprints()
            .WithSupplier("CurrenciesDiapasones", supplier)
            .Start();

            mFinalizer.GetWaitTask().Wait();
            mLogger.Info(
                $"Max currency rate for dates from {supplier.Diapason.From} to {supplier.Diapason.To}: {mMaxValue}");
        }