Testura.Code
Testura.Code copied to clipboard
How do I declare the following class with Testura?
Hey, great work! I've been trying to declare the following class, but without luck.
I've tried it using ThatInheritFrom, but couldn't get it to work. It results in the following
var classType = Type.MakeGenericSignatureType(typeof(EndpointBaseAsync.WithRequest<>.WithActionResult<>), typeof(Address), typeof(Token));
public class Foo: WithActionResult<Address, Token>
public class Foo: WithRequest<Address>, WithActionResult<Token>
What I actually want to accomplish
public class Foo: EndpointBaseAsync.WithRequest<Address>.WithActionResult<Token>
Any ideas? Thanks! 💯