Пример #1
0
        public static void Test_TelechargementPlus_PostDetail_Serialize_01(string url, bool reload = false, bool loadImage = false)
        {
            Trace.WriteLine("Test_TelechargementPlus_PostDetail_Serialize_01 : url \"{0}\"", url);
            //BsonClassMap.RegisterClassMap<TelechargementPlus_PostDetail>(cm => { cm.AutoMap(); cm.UnmapProperty(c => c.images); });
            BsonClassMap.RegisterClassMap <pb.old.ImageHtml>(cm => { cm.AutoMap(); cm.UnmapProperty(c => c.Image); });
            TelechargementPlus_PostDetail post = TelechargementPlus_LoadDetail.Load(url, reload: reload, loadImage: loadImage);

            Test_TelechargementPlus_PostDetail_Serialize(post);
        }
Пример #2
0
 public static void Test_TelechargementPlus_LoadDetail_01(string url, bool reload = false, bool loadImage = false)
 {
     //RunSource.CurrentRunSource.View(TelechargementPlus_LoadDetail.Load(url, reload: reload, loadImage: loadImage));
     TelechargementPlus_LoadDetail.Load(url, reload: reload, loadImage: loadImage).zView();
 }