/// <summary> /// Запуск задачи на выполнение /// </summary> /// <param name="context"></param> public override void Execute(IBSharpContext context) { BSharpBuilderWriteManager.Join(); WroteTargets = Project.Get <IList <BSharpBuilderWriteTarget> >("WroteTargets"); Project.Log.Info("GenerateIndexTask"); PrepareWorkEnviroment(); PrepareIndexesForWriting(); WriteManager.Roll(); }
/// <summary> /// Подготавливает рабочую среду /// </summary> private void PrepareWorkEnviroment() { WriteManager = new BSharpBuilderWriteManager { Log = Project.Log }; }
/// <summary> /// Подготавливает рабочую среду /// </summary> private void PrepareWorkEnviroment() { WriteManager = new BSharpBuilderWriteManager { Log = Project.Log }; }