C# Class RaffleDraw.TicketList

Show file Open project: pwilkins05/CS246-Assignment

Public Methods

Method Description
Add ( Ticket ticket ) : void
Add ( string fName, string lName, string em ) : void
Fill ( ) : void
GetTicketByIndex ( int i ) : Ticket
Remove ( Ticket ticket ) : void
Save ( ) : void
TicketList ( ) : System
ToString ( ) : string
operator ( ) : TicketList
this ( int i ) : Ticket

Method Details

Add() public method

public Add ( Ticket ticket ) : void
ticket Ticket
return void

Add() public method

public Add ( string fName, string lName, string em ) : void
fName string
lName string
em string
return void

Fill() public method

public Fill ( ) : void
return void

GetTicketByIndex() public method

public GetTicketByIndex ( int i ) : Ticket
i int
return Ticket

Remove() public method

public Remove ( Ticket ticket ) : void
ticket Ticket
return void

Save() public method

public Save ( ) : void
return void

TicketList() public method

public TicketList ( ) : System
return System

ToString() public method

public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : TicketList
return TicketList

this() public method

public this ( int i ) : Ticket
i int
return Ticket