protected override async Task Do() { TranslateBuilder.NO_CACHE = NoCache; var builder = new TranslateBuilder(NotabenoidLogin, NotabenoidPassword, BookId, GameDir, TranslateDir); if (Res != null) { await builder.Build(Res); } else { await builder.Build(); } }
public ITranslator <TSchema> Create(TranslateFactoryContext <TSchema> context) { var builder = new TranslateBuilder <TSchema>(context); _specification.Apply(builder); return(builder.Build()); }