Ignore:
Timestamp:
Aug 12, 2011, 4:32:33 PM (13 years ago)
Author:
bayral
Message:

root category handled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/PiwigoLib/PiwigoWpf/Command/PwgCmdProvider.cs

    r11922 r11935  
    2424                    objICom = PwgCmdGetImageforCategory;
    2525                    break;
     26                case "PwgCmdGetSubCategorieforCategory":
     27                    objICom = PwgCmdGetSubCategorieforCategory;
     28                    break;
    2629                default:
    27                     objICom = null;
    28                     break;
     30                    throw new ArgumentException("AsyncCommand GetByType : Command Type unknow.", "Type");
    2931            }
    3032
     
    7072            }
    7173        }
     74
     75        public static AsyncCommand _pwgCmdGetSubCategorieforCategory;
     76        public static AsyncCommand PwgCmdGetSubCategorieforCategory
     77        {
     78            get
     79            {
     80                if (_pwgCmdGetSubCategorieforCategory == null)
     81                {
     82                    _pwgCmdGetSubCategorieforCategory = new PwgCmdGetSubCategorieforCategory();
     83                }
     84                return _pwgCmdGetSubCategorieforCategory;
     85            }
     86        }
     87
    7288    }
    7389}
Note: See TracChangeset for help on using the changeset viewer.