C# Class SchoolHierarchy.Common.SchoolClass

Inheritance: ICommentable
Exibir arquivo Open project: vladislav-karamfilov/TelerikAcademy Class Usage Examples

Public Methods

Method Description
AddStudent ( Student newStudent ) : void
AddTeacher ( Teacher newTeacher ) : void
RemoveStudent ( Student student ) : void
RemoveTeacher ( Teacher teacher ) : void
SchoolClass ( string identifier ) : System
SchoolClass ( string identifier, List students, List teachers ) : System
ToString ( ) : string

Private Methods

Method Description
AddNewStudent ( Student newStudent ) : void

Method Details

AddStudent() public method

public AddStudent ( Student newStudent ) : void
newStudent Student
return void

AddTeacher() public method

public AddTeacher ( Teacher newTeacher ) : void
newTeacher Teacher
return void

RemoveStudent() public method

public RemoveStudent ( Student student ) : void
student Student
return void

RemoveTeacher() public method

public RemoveTeacher ( Teacher teacher ) : void
teacher Teacher
return void

SchoolClass() public method

public SchoolClass ( string identifier ) : System
identifier string
return System

SchoolClass() public method

public SchoolClass ( string identifier, List students, List teachers ) : System
identifier string
students List
teachers List
return System

ToString() public method

public ToString ( ) : string
return string