Merging setup information based on inheritance and implementation
abstractlabs opened this issue · comments
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)