示例#1
0
        public static string Test([HttpTrigger] HttpRequest request)
        {
            bool inputOk;
            bool outputOk;

            try { TestAzureBlob.Run(g_input, "test.txt"); inputOk = true; }
            catch { inputOk = false; }

            try { TestAzureBlob.Run(g_output, "test.txt"); outputOk = true; }
            catch { outputOk = false; }

            return($"Input={inputOk}, Output={outputOk}");
        }
示例#2
0
        public static string Test([HttpTrigger] HttpRequest request)
        {
            bool inputOk;
            bool outputOk;

            try { TestAzureBlob.Run(g_fileSystem, "wasb://input/pdf/test.txt"); inputOk = true; }
            catch { inputOk = false; }

            try { TestAzureBlob.Run(g_fileSystem, "wasb://output/test/test.txt"); outputOk = true; }
            catch { outputOk = false; }

            return($"Input={inputOk}, Output={outputOk}");
        }