public static GetIconByMimeType ( this mymeType ) : string | ||
mymeType | this | |
return | string |
public static string GetIconByMimeType(this string mymeType)
{
return mymeType == "folder" ? "glyphicon glyphicon-folder-close" : "glyphicon glyphicon-file";
}