Skip to content

Method injection on Fixture Sentences #776

@jeremydmiller

Description

@jeremydmiller

For Fixture Sentence methods, what if you could just use some method injection like so:

public void DoSomething([Service] ISomething something)
{

}

The "something" argument would not be a Cell, but be passed in as an argument with the value being pulled in from the IServiceProvider

Likewise, we could do the same for state:

public void DoSomething([State] ISomething something)
{

}

and maybe reporting?

public void DoSomething([Report] ReportOfSomeKind something)
{

}

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