EnumGroupAndName Struct¶
An abstraction used when grouping enum values for Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata.EnumGroupedDisplayNamesAndValues.
- Namespace
Microsoft.AspNetCore.Mvc.ModelBinding- Assemblies
- Microsoft.AspNetCore.Mvc.Abstractions
Syntax¶
public struct EnumGroupAndName
-
struct
Microsoft.AspNetCore.Mvc.ModelBinding.EnumGroupAndName
Constructors¶
-
EnumGroupAndName(System.String, System.String)¶ Initializes a new instance of the EnumGroupAndName structure.
Arguments: - group (System.String) – The group name.
- name (System.String) – The name.
public EnumGroupAndName(string group, string name)
-