public static string ImportFrom(this ParameterLocation parameterLocation) { if (parameterLocation != ParameterLocation.None && parameterLocation != ParameterLocation.FormData) { return("retrofit2.http." + parameterLocation.ToString()); } else { return(null); } }
private string LocationImport(ParameterLocation parameterLocation) { if (parameterLocation == ParameterLocation.FormData) { return("retrofit2.http.Part"); } else if (parameterLocation != ParameterLocation.None) { return("retrofit2.http." + parameterLocation.ToString()); } else { return(null); } }
private string LocationImport(ParameterLocation parameterLocation) { if (parameterLocation == ParameterLocation.FormData) { return "retrofit2.http.Part"; } else if (parameterLocation != ParameterLocation.None) { return "retrofit2.http." + parameterLocation.ToString(); } else { return null; } }