C# Class SuperMarketQueue.SuperQueue

显示文件 Open project: nzhul/TelerikAcademy Class Usage Examples

Public Methods

Method Description
Append ( string name ) : string
CommandParse ( string command ) : void
Find ( string name ) : int
Insert ( int position, string name ) : string
Serve ( int count ) : string

Private Methods

Method Description
AddToDictionary ( string name ) : void

Method Details

Append() public method

public Append ( string name ) : string
name string
return string

CommandParse() public method

public CommandParse ( string command ) : void
command string
return void

Find() public method

public Find ( string name ) : int
name string
return int

Insert() public method

public Insert ( int position, string name ) : string
position int
name string
return string

Serve() public method

public Serve ( int count ) : string
count int
return string