Attribute used to give a friendly name to entries in the ARP Hardware Types enumerations.
More...
|
static string | GetFrom (Enum enumObj) |
| Retrieves the friendly name from a given ARP Hardware Types. More...
|
|
Attribute used to give a friendly name to entries in the ARP Hardware Types enumerations.
- See also
- EIanaArpHardwareTypes, ELinuxArpHardwareTypes
◆ ArpHardwareTypeName()
NibblePoker.Data.ArpHardwareType.ArpHardwareTypeName.ArpHardwareTypeName |
( |
string |
description | ) |
|
|
inline |
Instantiates an Attribute that contains a friendly name for any entry in the ARP Hardware Types enumerations.
- Parameters
-
description | Friendly name to be attributed |
◆ GetFrom()
static string NibblePoker.Data.ArpHardwareType.ArpHardwareTypeName.GetFrom |
( |
Enum |
enumObj | ) |
|
|
inlinestatic |
Retrieves the friendly name from a given ARP Hardware Types.
- Parameters
-
enumObj | The ARP Hardware Types enumeration member whose friendly name is retrieved. |
- Returns
- The friendly name if found, ane empty string otherwise.
The documentation for this class was generated from the following file: