Esempio n. 1
0
    public async Task Run(CancellationToken token = default)
    {
        DirectoryStructure.Copy(_source, _destination);

        _courses = FindCoursesMetadata();
        foreach (var course in _courses)
        {
            CreateIndexForCourse(course);
        }

        await CreateIndexFileAsync(token);

        DirectoryStructure.RunOnAllFiles(ConvertDocument, _destination);
    }