Reppresent a function that associate each instance of TDomain to an instance of TCodomain.
public interface IMapping<TDomain, TCodomain>
Generic Template Parameters
- Type of the objects to map (the pre-image of the mapping).
- Type of the objects to map (the image of the mapping).
Applies the mapping to element.