Пример #1
0
        private bool IsDirectURLPossible(MediaCrushFile file)
        {
            switch (file.Mimetype)
            {
            case "image/png":
            case "image/jpeg":
            case "image/bmp":
                return(true);
            }

            return(false);
        }
Пример #2
0
        private bool IsDirectURLPossible(MediaCrushFile file)
        {
            switch (file.Mimetype)
            {
                case "image/png":
                case "image/jpeg":
                case "image/bmp":
                    return true;
            }

            return false;
        }