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);
        }