Open sjoerd222888 opened 6 years ago
While there isn't a dynamic map feature already in impromptu interface (there is a static map feature, https://github.com/ekonbenefits/impromptu-interface/blob/master/ImpromptuInterface/src/Attributes/AliasAttribute.cs).
Implementing a dynamic mapper on your own wouldn't be that hard using Dynamitey.DynamicObjects.BaseForwarder
https://github.com/ekonbenefits/dynamitey/blob/master/Dynamitey/DynamicObjects/BaseForwarder.cs
Hi
I think it is not yet possible what I would like to do. Let's assume I have
and an interface
What I would like to be able to do is:
So I would like to have the possibility to have different method names in the interface and the implementation and still have the possibility to use
ActLike<>
. So I could use implementations which are compatible on the 'logical level' (however that should be called), but not on the naming level (which from a functional point of view is secondary; whether I call a car a "car", "voiture" or "автомобиль" does not change its behavior and functionality).Now my question is whether this (by some way that I overlooked) is already possible in your library. If not then I would be interested to know whether this library could be extended to support that scenario (not only technically but also whether it would fit "the intention" of the library in your opinion).
Potentially this also interesting of course for properties.