C# Class PayPal.Invoice.Model.EnumUtils

Utility class for Enums with descriptions
Afficher le fichier Open project: paypal/invoice-sdk-dotnet

Méthodes publiques

Méthode Description
GetDescription ( Enum value ) : string

Get description for a give enum value

GetValue ( string value, Type enumType ) : object

Convert a string to an enum object

Method Details

GetDescription() public static méthode

Get description for a give enum value
public static GetDescription ( Enum value ) : string
value System.Enum
Résultat string

GetValue() public static méthode

Convert a string to an enum object
public static GetValue ( string value, Type enumType ) : object
value string
enumType System.Type
Résultat object