C# Class Orchestra.Services.RecentlyUsedItemsService

Inheritance: IRecentlyUsedItemsService
Afficher le fichier Open project: WildGums/Orchestra

Méthodes publiques

Méthode Description
AddItem ( RecentlyUsedItem item ) : void

Adds the item to the list of recently used items.

PinItem ( string name ) : void

Pins the item with the specified name.

RecentlyUsedItemsService ( IXmlSerializer xmlSerializer, IFileService fileService ) : System
RemoveItem ( RecentlyUsedItem item ) : void

Removes the item from the list of recently used items.

UnpinItem ( string name ) : void

Unpins the item with the specified name.

Private Methods

Méthode Description
AddSorted ( List collection, RecentlyUsedItem item ) : void
IsAvailableInCollection ( List collection, string name ) : bool
Load ( ) : void
RemoveItemFromCollection ( List collection, string name ) : void
Save ( ) : void

Method Details

AddItem() public méthode

Adds the item to the list of recently used items.
The is null.
public AddItem ( RecentlyUsedItem item ) : void
item Orchestra.Models.RecentlyUsedItem The item.
Résultat void

PinItem() public méthode

Pins the item with the specified name.
The is null or whitespace.
public PinItem ( string name ) : void
name string The name.
Résultat void

RecentlyUsedItemsService() public méthode

public RecentlyUsedItemsService ( IXmlSerializer xmlSerializer, IFileService fileService ) : System
xmlSerializer IXmlSerializer
fileService IFileService
Résultat System

RemoveItem() public méthode

Removes the item from the list of recently used items.
The is null.
public RemoveItem ( RecentlyUsedItem item ) : void
item Orchestra.Models.RecentlyUsedItem The item.
Résultat void

UnpinItem() public méthode

Unpins the item with the specified name.
The is null or whitespace.
public UnpinItem ( string name ) : void
name string The name.
Résultat void