ServiceStack.ContentFormat.MatchesContentType C# (CSharp) Method

MatchesContentType() public static method

public static MatchesContentType ( this contentType, string matchesContentType ) : bool
contentType this
matchesContentType string
return bool
        public static bool MatchesContentType(this string contentType, string matchesContentType)
        {
            return GetRealContentType(contentType) == GetRealContentType(matchesContentType);
        }