예제 #1
0
        private static async Task <string> GetFileContent()
        {
            IFileStorage storage = new InMemoryFileStorage();
            await storage.SaveFileAsync("test.txt", "123456");

            string content = await storage.GetFileContentsAsync("test.txt");

            return(content);
        }