ServiceStack.ContentFormat.MatchesContentType C# (CSharp) Méthode

MatchesContentType() public static méthode

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