C# Class BlogEngine.Core.Json.JsonTrashList

List of deleted objects
Afficher le fichier Open project: rasmuskl/ReSharperCourse

Méthodes publiques

Méthode Description
GetPager ( int page ) : string
GetTrash ( TrashType trashType, int page ) : List

Paged list of deleted objects

IsTrashEmpty ( ) : bool

If trash is empty.

Process ( string action, string vals ) : BlogEngine.Core.Json.JsonResponse

Processes recycle bin actions

Private Methods

Méthode Description
Purge ( string trashType, System.Guid id ) : void
PurgeAll ( ) : void
Restore ( string trashType, System.Guid id ) : void

Method Details

GetPager() public static méthode

public static GetPager ( int page ) : string
page int
Résultat string

GetTrash() public static méthode

Paged list of deleted objects
public static GetTrash ( TrashType trashType, int page ) : List
trashType TrashType Type of delted object
page int Page number
Résultat List

IsTrashEmpty() public static méthode

If trash is empty.
public static IsTrashEmpty ( ) : bool
Résultat bool

Process() public static méthode

Processes recycle bin actions
public static Process ( string action, string vals ) : BlogEngine.Core.Json.JsonResponse
action string Action
vals string Values
Résultat BlogEngine.Core.Json.JsonResponse