Exemple #1
0
        public List <MimeType> Parse(params string[] acceptTypes)
        {
            if (acceptTypes == null || acceptTypes.Length < 1)
            {
                return(new List <MimeType> {
                    _all
                });
            }

            var acceptList = new AcceptList(this, acceptTypes);

            return(acceptList.Parse());
        }
        public List <MimeType> Parse(params string[] acceptTypes)
        {
            var acceptList = new AcceptList(this, acceptTypes);

            return(acceptList.Parse());
        }