Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: TranslatableException<TTranslation>(Func<TTranslation, string>)

Declaration

public TranslatableException<TTranslation>(
    Func<TTranslation, string> getMessage
)

Summary

Constructor.

Parameters

Func<TTranslation, string>getMessageA function which returns the exception message given a TTranslation object. This would usually be of the form "tr => tr.FieldName" or "tr => tr.FieldName.Fmt(parameters)".