C# Class CheevoService.Database

Afficher le fichier Open project: acid2000/OfficeCheevos

Méthodes publiques

Méthode Description
AddCheevo ( string title, string description, string category, int points ) : void
GetCheevos ( ) : IEnumerable
LoadPoppedCheevos ( ) : CheevoUser>.Dictionary
ProposeCheevo ( string user, string proposes, int id ) : bool
Setup ( ) : void

Private Methods

Méthode Description
CheevoAlreadyProposed ( string user, int id ) : bool

Method Details

AddCheevo() public static méthode

public static AddCheevo ( string title, string description, string category, int points ) : void
title string
description string
category string
points int
Résultat void

GetCheevos() public static méthode

public static GetCheevos ( ) : IEnumerable
Résultat IEnumerable

LoadPoppedCheevos() public static méthode

public static LoadPoppedCheevos ( ) : CheevoUser>.Dictionary
Résultat CheevoUser>.Dictionary

ProposeCheevo() public static méthode

public static ProposeCheevo ( string user, string proposes, int id ) : bool
user string
proposes string
id int
Résultat bool

Setup() public static méthode

public static Setup ( ) : void
Résultat void