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();
            }
        }
Exemple #2
0
        public ITranslator <TSchema> Create(TranslateFactoryContext <TSchema> context)
        {
            var builder = new TranslateBuilder <TSchema>(context);

            _specification.Apply(builder);

            return(builder.Build());
        }