예제 #1
0
 public static string GetTransferTypeDescription(TransferTypes type)
 {
     if (type == TransferTypes.STORETOSTORE)
     {
         return("SHOP TO SHOP");
     }
     else if (type == TransferTypes.JORET)
     {
         return("REFURB");
     }
     return(type.ToString());
 }
예제 #2
0
 public static string GetTransferTypeDisplayName(TransferTypes transferType)
 {
     return(transferType.GetAttribute <DisplayAttribute>()?.Name ?? transferType.ToString());
 }