public string Extract() { var reader = DocumentReaderFactory.Create(_contentType); return(reader.Read(_stream)); }
public Task <string> ExtractAsync() { var reader = DocumentReaderFactory.Create(_contentType); return(reader.ReadAsync(_stream)); }