C# 클래스 PayPal.PayPalAPIInterfaceService.Model.EnumUtils

Utility class for Enums with descriptions
파일 보기 프로젝트 열기: paypal/merchant-sdk-dotnet

공개 메소드들

메소드 설명
GetDescription ( Enum value ) : string

Get description for a give enum value

GetValue ( string value, Type enumType ) : object

Convert a string to an enum object

메소드 상세

GetDescription() 공개 정적인 메소드

Get description for a give enum value
public static GetDescription ( Enum value ) : string
value System.Enum
리턴 string

GetValue() 공개 정적인 메소드

Convert a string to an enum object
public static GetValue ( string value, Type enumType ) : object
value string
enumType System.Type
리턴 object