MailAddressConverterCreateNonNullable Method

Creates a new TypeConverterT instance for the MailAddress class.

Definition

Namespace: FolkerKinzel.CsvTools.Mappings.TypeConverters
Assembly: FolkerKinzel.CsvTools.Mappings (in FolkerKinzel.CsvTools.Mappings.dll) Version: 1.1.0+1263e8243dc2cd78095f678f813d7d9c52ea4315
C#
public static TypeConverter<MailAddress> CreateNonNullable(
	MailAddress defaultValue,
	bool throwing = true
)

Parameters

defaultValue  MailAddress
The value of DefaultValue. The defaultValue must not be null.
throwing  Boolean  (Optional)
Sets the value of the Throwing property.

Return Value

TypeConverterMailAddress
The newly created TypeConverterT instance.

Exceptions

ArgumentNullExceptiondefaultValue is null.

See Also