Skip to content

Default BuildObject implementation using reflection #24

@robdmoore

Description

@robdmoore

Automatically build an object by reflecting for a constructor with the most params and getting each by looking for a property of the same name (kinda like AutoFixture, but this would use the ability to customise the object(s).

This would be the default behaviour for BuildObject - you can then override it as soon as you get a more complex example.

This just makes it even more easy to quickly create a builder.

Might be more complex than it's worth though? It doesn't take long to create the BuildObject method...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions