CmisCmdlets.ReadCmisDocumentCommand.IsPlaintextType C# (CSharp) Method

IsPlaintextType() private method

private IsPlaintextType ( string mimetype ) : bool
mimetype string
return bool
        private bool IsPlaintextType(string mimetype)
        {
            foreach (var supportedType in _plainMimeTypes)
            {
                if (mimetype.ToLowerInvariant().StartsWith(supportedType))
                {
                    return true;
                }
            }
            return false;
        }
    }
ReadCmisDocumentCommand