var c = new Money { Value = 10.2m, Currency = "EUR", Extra = "Batman" };
var i = c.Adapt<IMoney>();
var config = new TypeAdapterConfig();
config.NewConfig<Money, IMoney>().Ignore(x => x.Extra2);
var i2 = c.Adapt<IMoney>(config);
void Dump(object x) => Console.WriteLine(ObjectDumper.Dump(x, DumpStyle.CSharp));
public decimal Value { get; init; }
public string Currency { get; init; }
public string Extra { get; set; }