Skip to content

Instantly share code, notes, and snippets.

@zHaytam
Created September 22, 2021 20:05
Show Gist options
  • Save zHaytam/0e4042f8092e2e42fd196fd7bc1d2c54 to your computer and use it in GitHub Desktop.
Save zHaytam/0e4042f8092e2e42fd196fd7bc1d2c54 to your computer and use it in GitHub Desktop.
private class JsCall
{
public JsCall(long id, string identifier, object[] args, object tcs, Type type)
{
Id = id;
Identifier = identifier;
Args = args;
Tcs = tcs;
Type = type;
}
public long Id { get; }
public string Identifier { get; }
public object[] Args { get; }
public Type Type { get; }
public object Tcs { get; }
}
private class JsResult
{
public bool Success { get; set; }
public object ReturnValue { get; set; }
public string Error { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment