Skip to content

elky84/EnumExtend

Repository files navigation

Website Made with Made with

Publish Nuget Github Package Publish Nuget Package

GitHub forks GitHub stars GitHub watchers GitHub followers

GitHub GitHub repo size in bytes GitHub code size in bytes

EnumExtend

introduce

Easily usable Enum, Newtonsoft.json. (include Description Converter)

Attribute

public enum EnumType
{
    [DescriptionAttribute("Desc0")]
    EnumValue0,

    [DescriptionAttribute("Desc1")]
    EnumValue0,
}

GetDescription

enum.GetDescription()

or

enum.Desc()

github

https://github.com/elky84/EnumExtend/

nuget

https://www.nuget.org/packages/EnumExtend/

Version History

v1.0.8

Not Nullable JsonEnumConverter and JsonEnumsConverter.

v1.0.7

migrate .net standard 2.0 to .net standrad 2.1

v1.0.6

change method name ToEnumString to FromString change method name ToEnumList to GetEnumList

v1.0.5

move FromDescription to EnumUtil. (from JsonEnumConverter and JsonEnumsConverter)

v1.0.4

added TypesUtil (similar EnumUtil)