Exemple #1
0
        public Task <SubstitutionExportResult> GetSubstitutionsAsync(string contents, ISubstitutionInput settings)
        {
            var gpuInput = settings as IGpuSubstitutionInput;

            return(exporter.ParseGpuAsync(contents, new SubstitutionExportSettings {
                Delimiter = gpuInput.Delimiter
            }));
        }
Exemple #2
0
 public bool Use(ISubstitutionInput settings)
 {
     return(settings is IGpuSubstitutionInput);
 }
        public Task <SubstitutionExportResult> GetSubstitutionsAsync(string contents, ISubstitutionInput settings)
        {
            var htmlSettings = settings as IHtmlSubstitutionInput;

            return(exporter.ParseHtmlAsync(contents, htmlSettings.ToUntis()));
        }