Exemplo n.º 1
0
        internal static MultipartContentElement[] Parse(StreamIndexer data, long length, byte[] boundary, Encoding encoding) // Edited to remove HttpRawUploadedContent dependancy
        {
            var httpMultipartContentTemplateParser = new HttpMultipartContentTemplateStreamParser(data, length, boundary, encoding);

            httpMultipartContentTemplateParser.ParseIntoElementList();
            return((MultipartContentElement[])httpMultipartContentTemplateParser._elements.ToArray(typeof(MultipartContentElement)));
        }
 internal static MultipartContentElement[] Parse(StreamIndexer data, long length, byte[] boundary, Encoding encoding) // Edited to remove HttpRawUploadedContent dependancy
 {
     var httpMultipartContentTemplateParser = new HttpMultipartContentTemplateStreamParser(data, length, boundary, encoding);
     httpMultipartContentTemplateParser.ParseIntoElementList();
     return (MultipartContentElement[])httpMultipartContentTemplateParser._elements.ToArray(typeof(MultipartContentElement));
 }