C# Class EnumMemberConverter, code

Provides EnumMemberAttribute.Value from/to JSON converter.
Inheritance: JsonConverter
Datei anzeigen Open project: shendongnian/code

Public Methods

Method Description
ConvertFrom ( ITypeDescriptorContext context, CultureInfo, culture, object value ) : object
EnumMemberConverter ( Type, type )

Method Details

ConvertFrom() public method

public ConvertFrom ( ITypeDescriptorContext context, CultureInfo, culture, object value ) : object
context ITypeDescriptorContext
culture CultureInfo,
value object
return object

EnumMemberConverter() public method

public EnumMemberConverter ( Type, type )
type Type,