C# Class CapRaffle.Domain.Raffle.DrawWinners

Afficher le fichier Open project: capgemini-stavanger/CapRaffle Class Usage Examples

Méthodes publiques

Méthode Description
DrawWinners ( int eventId, CapRaffleContext context ) : System
ExecuteDraw ( ) : void

Private Methods

Méthode Description
ApplyRulesForEvent ( ) : void
CalculateNumberOfSpotsToGive ( int spotsLeft, int wantedSpots ) : int
DeleteParticipant ( UserEvent participant ) : void
EventParticipantsForEvent ( ) : IQueryable
GenerateRaffleTickets ( ) : List
InvokeRuleMethod ( RuleParameter ruleParameter ) : void
NumberOfSpotsLeftForEvent ( ) : int
PopulateUserRaffleTicketsList ( ) : void
SaveWinner ( UserEvent drawnParticipant, int numberOfSpotsGiven ) : void

Method Details

DrawWinners() public méthode

public DrawWinners ( int eventId, CapRaffleContext context ) : System
eventId int
context CapRaffle.Domain.Model.CapRaffleContext
Résultat System

ExecuteDraw() public méthode

public ExecuteDraw ( ) : void
Résultat void