Skip to content

feature: generate With methods using params arrays for list types #2021

@RLittlesII

Description

@RLittlesII

Given

public Fixture With(Dictionary<string, object> dictionary) => this.With(ref _dictionary, dictionary);

When

Generate

Then

public Fixture With(KeyValuePair<string, object> kvp) => this.With(ref _dictionary, kvp);
public Fixture With(params KeyValuePair<string, object>[] kvps) => this.With(ref _dictionary, kvps);

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions