C# Class CheevoService.Database

Exibir arquivo Open project: acid2000/OfficeCheevos

Public Methods

Method 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

Method Description
CheevoAlreadyProposed ( string user, int id ) : bool

Method Details

AddCheevo() public static method

public static AddCheevo ( string title, string description, string category, int points ) : void
title string
description string
category string
points int
return void

GetCheevos() public static method

public static GetCheevos ( ) : IEnumerable
return IEnumerable

LoadPoppedCheevos() public static method

public static LoadPoppedCheevos ( ) : CheevoUser>.Dictionary
return CheevoUser>.Dictionary

ProposeCheevo() public static method

public static ProposeCheevo ( string user, string proposes, int id ) : bool
user string
proposes string
id int
return bool

Setup() public static method

public static Setup ( ) : void
return void