Sakura.AspNetCore.Extensions/Sakura.AspNetCore.Mvc.TagHelpers/EnumSelectTagHelper.cs
/// <summary>
///     Generate a list of <see cref="SelectListItem" /> for a specified enum type.
/// </summary>
/// <returns>The generated list.</returns>
Generate a list of  for a specified enum type.
Generate a list of for a specified enum type .
protected virtual IEnumerable<SelectListItem> GenerateListForEnumType()
		{
			return GetEnumType()
				.GetMembers(BindingFlags.DeclaredOnly | BindingFlags.Public | BindingFlags.Static)
				.Select(GetItemForMember);
		}
protected virtual IEnumerable < SelectListItem > GenerateListForEnumType ( ) { return GetEnumType ( ) . GetMembers ( BindingFlags . DeclaredOnly | BindingFlags . Public | BindingFlags . Static ) . Select ( GetItemForMember ) ; }
Generate a list of  for a specified enum type.
Generate a list of for a specified enum type .
The generated list.
The generated list .