Open LemonNoCry opened 1 year ago
Here is my code:
public static TTarget CopyTo<TSource, TTarget>(this TSource source, TTarget target, params Expression<Func<TTarget, object>>[] members) { if (source == null) return default; var config = TypeAdapterConfig<TSource, TTarget> .NewConfig() .IgnoreNullValues(true); if (members != null) { config.Ignore(members); } return source.Adapt(target, config.Config); }
I get some errors
What's wrong with my writing
Here is my code:
I get some errors![image](https://user-images.githubusercontent.com/33311705/223957440-9522779f-4d44-4dc2-8f21-a64ef76d09e2.png)
What's wrong with my writing