ServiceStack.ContentFormat.MatchesContentType C# (CSharp) Метод

MatchesContentType() публичный статический Метод

public static MatchesContentType ( this contentType, string matchesContentType ) : bool
contentType this
matchesContentType string
Результат bool
        public static bool MatchesContentType(this string contentType, string matchesContentType)
        {
            return GetRealContentType(contentType) == GetRealContentType(matchesContentType);
        }