public Task <SubstitutionExportResult> GetSubstitutionsAsync(string contents, ISubstitutionInput settings) { var gpuInput = settings as IGpuSubstitutionInput; return(exporter.ParseGpuAsync(contents, new SubstitutionExportSettings { Delimiter = gpuInput.Delimiter })); }
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())); }