Exemple #1
0
        static void Main(string[] args)
        {
            PicassoEngine p = new PicassoEngine();

            p.Init("./Picasso", Urls);
            var f1 = p.Get(Urls[0]);

            f1 = p.Flush(Urls[0]);
            f1 = p.Get(Urls[0]);
            f1 = p.Flush(Urls[0]);
            f1 = p.Get(Urls[0]);
            var b = p.IsReaded(f1.items[0]);

            p.SetReaded(f1.items[0]);
            b = p.IsReaded(f1.items[0]);
            p.SetReaded(f1.items[0], false);
            b = p.IsReaded(f1.items[0]);
        }
Exemple #2
0
 public void Init(List <string> urls)
 {
     _Picasso = new PicassoEngine();
     _Picasso.Init("./Picasso", urls);
 }