Sdl.Web.Common.Models.MediaItem.GetIconClass C# (CSharp) 메소드

GetIconClass() 공개 메소드

Gets the name of a CSS class representing the Icon for this Media Item.
public GetIconClass ( ) : string
리턴 string
        public virtual string GetIconClass()
        {
            string fileType;
            return FontAwesomeMimeTypeToIconClassMapping.TryGetValue(MimeType, out fileType) ? string.Format("fa-file-{0}-o", fileType) : "fa-file";
        }