Table of Contents

Class EnumMemberEnumConverter

Namespace
RetailForce.Fiscalisation.Entities
Assembly
RetailForce.Fiscalisation.Model.dll
public class EnumMemberEnumConverter : EnumConverter
Inheritance
object
EnumMemberEnumConverter
Inherited Members

Constructors

EnumMemberEnumConverter(Type)

public EnumMemberEnumConverter(Type type)

Parameters

type Type

Methods

ConvertFrom(ITypeDescriptorContext?, CultureInfo?, object)

Converts the specified value object to an enumeration object.

public override object? ConvertFrom(ITypeDescriptorContext? context, CultureInfo? culture, object value)

Parameters

context ITypeDescriptorContext

An ITypeDescriptorContext that provides a format context.

culture CultureInfo

An optional CultureInfo. If not supplied, the current culture is assumed.

value object

The object to convert.

Returns

object

An object that represents the converted value.

Exceptions

FormatException

value is not a valid value for the target type.

NotSupportedException

The conversion cannot be performed.