Skip to content

How do I declare the following class with Testura? #88

@atresnjo

Description

@atresnjo

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! 💯

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions