Table of Contents

Delegate HeaderValidated

Namespace
CsvHelper
Assembly
CsvHelper.dll

Function that is called when a header validation check is ran. The default function will throw a ValidationException if there is no header for a given member mapping. You can supply your own function to do other things like logging the issue instead of throwing an exception.

public delegate void HeaderValidated(HeaderValidatedArgs args)

Parameters

args HeaderValidatedArgs

Constructors

HeaderValidated(object, nint)

public HeaderValidated(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(HeaderValidatedArgs, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(HeaderValidatedArgs args, AsyncCallback callback, object @object)

Parameters

args HeaderValidatedArgs
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(HeaderValidatedArgs)

public virtual void Invoke(HeaderValidatedArgs args)

Parameters

args HeaderValidatedArgs