Beispiel #1
0
        private static MimeType[] GeMimeTypes(Stream xmlFileStream)
        {
            var reader = new MimeTypesReader();

            return(reader.Read(xmlFileStream));
        }
Beispiel #2
0
        /// <summary>Should never be instanciated from outside </summary>
        public MimeTypes()
        {
            MimeTypesReader reader = new MimeTypesReader();

            Add(reader.Read());
        }