1

Closed

Value Injecter should have extension methods baked in to map to a new object

description

public static T MapTo<T>(this object source) where T : class, new()
    {
        var target = new T();

        if (source == null)
            return target;

        target.InjectFrom(source);

        return target;
    }
Closed Sep 3, 2016 at 8:18 PM by o
see the documentation for the new version https://github.com/omuleanu/ValueInjecter

comments