Table of Contents

Delegate ExcelPropertySetter<TModel, TValue>

Namespace
ExcelReader.Core.Parser
Assembly
ExcelReader.Core.dll

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

model TModel

The model instance to mutate.

value TValue

The value to assign.

Type Parameters

TModel

The row model type being assigned to.

TValue

The value type being assigned.