Microsoft.Protocols.TestSuites.Common.WOPIMessageEncoder.IsContentTypeSupported C# (CSharp) Method

IsContentTypeSupported() public method

This method is used to support the text/html content type.
public IsContentTypeSupported ( string messageLevelContentType ) : bool
messageLevelContentType string Specify the message-level content-type being tested.
return bool
        public override bool IsContentTypeSupported(string messageLevelContentType)
        {
            if (string.Compare("text/html", messageLevelContentType, StringComparison.OrdinalIgnoreCase) == 0)
            {
                return true;
            }

            return this.innerEncoder.IsContentTypeSupported(messageLevelContentType);
        }
    }