aloisdg / aloisdg/Doccou

Add a constructor to Document to handle stream by himself

オープン
#14 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement help wanted
主要言語
C#
スター
19
フォーク
448
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。