Changeset 11901


Ignore:
Timestamp:
Aug 2, 2011, 11:18:05 PM (10 years ago)
Author:
bayral
Message:

trouble with csproj file beteewn Visual sutdio and visual studio express

Location:
extensions/PiwigoLib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/PiwigoLib/PiwigoLib/DTO/PwgCategoryPhotoDeletionModeEnum.cs

    r11878 r11901  
    11using System;
     2using System.Collections.Generic;
    23using System.Xml.Serialization;
     4
    35
    46namespace Com.Piwigo.Lib.DTO
    57{
    6 
    78    [Serializable()]
    8     [XmlRoot(ElementName = "PwgCategoryPhotoDeletionModeEnum")]
     9    [XmlRoot(ElementName = "PwgSessionStatusEnum")]
    910    public enum PwgCategoryPhotoDeletionModeEnum : int
    1011    {
    1112        [XmlEnum("unknow")]
    1213        Unknow = 0,
    13         [XmlEnum("no_delete")]
     14        [XmlEnum("none")]
    1415        None = 1,
    15         [XmlEnum("delete_orphans")]
     16        [XmlEnum("orphan-only")]
    1617        OrphansOnly = 2,
    17         [XmlEnum("force_delete")]
    18         ForceAll = 3
     18        [XmlEnum("all")]
     19        all = 3
    1920    }
    2021}
  • extensions/PiwigoLib/PiwigoLib/PiwigoLib.csproj

    r11890 r11901  
    5151  </ItemGroup>
    5252  <ItemGroup>
     53    <Compile Include="DTO\PwgCategory.cs" />
    5354    <Compile Include="DTO\PwgConfidentLevelEnum.cs" />
    5455    <Compile Include="DTO\PwgFileTypeEnum.cs" />
    5556    <Compile Include="DTO\PwgCategoryPhotoDeletionModeEnum.cs" />
    56     <Compile Include="DTO\PwgCategory.cs" />
    5757    <Compile Include="DTO\PwgImage.cs" />
    5858    <Compile Include="DTO\Helper\PwgEnumHelper.cs" />
  • extensions/PiwigoLib/TestPiwigoLib/Form1.cs

    r11890 r11901  
    4646                //List<PwgTag> lstTag = PwgServiceProvider.Instance.PwgTagsService.GetAdminListOfTag();
    4747
    48                 Int32 Page = 0;
    49                 Int32 PerPage = 0;
    50                 Int32 Count = 0;
     48                //Int32 Page = 0;
     49                //Int32 PerPage = 0;
     50                //Int32 Count = 0;
    5151
    52                 List<PwgImage> lstImgTag = PwgServiceProvider.Instance.PwgTagsService.GetListOfImagesFormTags(new List<Int32>() { 1, 7 },
    53                     null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
    54                     ref Page, ref PerPage, ref Count);
     52                //List<PwgImage> lstImgTag = PwgServiceProvider.Instance.PwgTagsService.GetListOfImagesFormTags(new List<Int32>() { 1, 7 },
     53                //    null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
     54                //    ref Page, ref PerPage, ref Count);
    5555
    56                 List<PwgImage> lstImgCat = PwgServiceProvider.Instance.PwgCategoriesService.GetListOfImagesFormCategory(1,
    57                     null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
    58                     ref Page, ref PerPage, ref Count);
     56                //List<PwgImage> lstImgCat = PwgServiceProvider.Instance.PwgCategoriesService.GetListOfImagesFormCategory(1,
     57                //    null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
     58                //    ref Page, ref PerPage, ref Count);
    5959
    6060                //Console.WriteLine("lstImg : Page " + Page.ToString() + " PerPage " + PerPage);
     
    7474                //lstCat = PwgServiceProvider.Instance.PwgCategoriesService.GetAdminListOfCategory();
    7575
    76                 FileInfo fiBig = new FileInfo("C:\\Users\\bayral\\Downloads\\49133_1636405570_2648232_n.jpg");
    77                 FileInfo fiThumb = new FileInfo(MakeThumb(fiBig,"C:\\Users\\bayral\\Downloads\\49133_1636405570_2648232_n_thum.jpg",64));
    78                 FileInfo fiLow = new FileInfo(MakeThumb(fiBig,"C:\\Users\\bayral\\Downloads\\49133_1636405570_2648232_n_low.jpg",256));
     76                //FileInfo fiBig = new FileInfo("C:\\Users\\bayral\\Downloads\\49133_1636405570_2648232_n.jpg");
     77                //FileInfo fiThumb = new FileInfo(MakeThumb(fiBig,"C:\\Users\\bayral\\Downloads\\49133_1636405570_2648232_n_thum.jpg",64));
     78                //FileInfo fiLow = new FileInfo(MakeThumb(fiBig,"C:\\Users\\bayral\\Downloads\\49133_1636405570_2648232_n_low.jpg",256));
     79
     80                FileInfo fiBig = new FileInfo("C:\\temp\\Oryx.jpg");
     81                FileInfo fiThumb = new FileInfo(MakeThumb(fiBig, "C:\\temp\\Oryx_thumb.jpg", 64));
     82                FileInfo fiLow = new FileInfo(MakeThumb(fiBig, "C:\\temp\\Oryx_low.jpg", 256));
    7983
    8084                //PwgImageAdded imgAdd = PwgServiceProvider.Instance.PwgImagesService.addImageByMultiPartForm(fiBig, null, 1, "benoit", "byarl", "test upload", 0, new List<PwgTag>() { new PwgTag() { Name = "Benoit" }, new PwgTag() { Name = "Noé" } });
Note: See TracChangeset for help on using the changeset viewer.