Delegate ExcelPropertySetter<TModel, TValue>
Assigns value to a property of model. The source generator
emits this as a direct property assignment (e.g. static (ref T m, V v) => m.Prop = v) —
no delegate compilation at runtime.
public delegate void ExcelPropertySetter<TModel, in TValue>(ref TModel model, TValue value) where TModel : allows ref struct where TValue : allows ref struct
Parameters
modelTModelThe model instance to mutate.
valueTValueThe value to assign.
Type Parameters
TModelThe row model type being assigned to.
TValueThe value type being assigned.