예제 #1
0
        public static async Task PutText(this IStorageItem item, string text)
        {
            using (var stream = await item.Put())
            {
                Assert.NotNull(stream);

                using (var writer = new StreamWriter(stream))
                    await writer.WriteAsync(text);
            }
        }