Closed m31coding closed 4 months ago
For the example above, the following, single, method should get generated:
public static Student WhoseFriendsAre(params string[]? friends)
{
CreateStudent createStudent = new CreateStudent();
friendsPropertyInfo.SetValue(createStudent.student, friends);
return createStudent.student;
}
This fluent API definition
generates several methods, including the following:
The compiler raises an error due to duplicate method signatures: