Skip to main content
Version: 2.13.14

Humanizer.OnNoMatch

OnNoMatch Enum

Dictating what should be done when a match is not found - currently used only for DehumanizeTo

public enum OnNoMatch

Fields

ThrowsException 0

This is the default behavior which throws a NoMatchFoundException

ReturnsNull 1

If set to ReturnsNull the method returns null instead of throwing an exception