Skip to content

Merging setup information based on inheritance and implementation #93

Open
@abstractlabs

Description

@abstractlabs

Would it be possible for to create a filler and merge the setup with another filler allowing the class to configure a filler aginst one interface and merge it where that interface inherits the other. This same method could also be used where a class inherits another.

For example:
public interface ITrackable { DateTime Timestamp {get;set;} }
public interface IPerson: ITrackable { string Name {get;set;} }
var person = FillerSetup.Create<IPerson()...
var trackable FillerSetup.Create<ITrackable>()...
person.Merge(trackable)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions