Add a constructor to Document to handle stream by himself
Offen
enhancement
help wanted
- Vorherrschende Sprache
- C#
- Sterne
- 19
- Forks
- 448
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Something like this would be great :
```
public Document(string fullName)
{
// convert fullName to stream and do stuff
}
```
We could use [PCL Storage](https://github.com/dsplaisted/PCLStorage) but it seems that they didnt implement the code needed for portable class. I tried this :
```
private static async Task OpenAsync(string fullName)
{
var file = await FileSystem.Current.GetFileFromPathAsync(fullName);
return await file.OpenAsync(FileAccess.Read);
}
```
I will look into it later. If someone knows an alternative, I am listening.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.