Implement info Function in C# (#2061)

Adds implementation of the `info` function. 

Added support for blobs in the function integration test stuff.

Simplified usage of integration test classes by removing the account name parameter.
This commit is contained in:
George Pollard
2022-06-23 13:06:40 +12:00
committed by GitHub
parent 4cb7bba2c9
commit 1eeefce85c
19 changed files with 431 additions and 102 deletions

View File

@ -44,6 +44,9 @@ sealed class TestHttpRequestData : HttpRequestData {
public static TestHttpRequestData FromJson<T>(string method, T obj)
=> new(method, Serializer.Serialize(obj));
public static TestHttpRequestData Empty(string method)
=> new(method, new BinaryData(Array.Empty<byte>()));
public TestHttpRequestData(string method, BinaryData body)
: base(NewFunctionContext()) {
Method = method;