Ejemplo n.º 1
0
        public static BooruPostList FromTable(DataTable Table)
        {
            BooruPostList bPostList = new BooruPostList();

            foreach (DataRow row in Table.Rows)
            {
                bPostList.Add(BooruPost.FromRow(row));
            }
            return(bPostList);
        }
Ejemplo n.º 2
0
        public static BooruPostList FromClientReader(ReaderWriter Reader)
        {
            uint          count    = Reader.ReadUInt();
            BooruPostList bTagList = new BooruPostList();

            for (uint i = 0; i < count; i++)
            {
                bTagList.Add(BooruPost.FromReader(Reader));
            }
            return(bTagList);
        }