C# Class PersonModule.Teacher

Inheritance: Employee, ICourses
ファイルを表示 Open project: nzhul/TelerikAcademy Class Usage Examples

Public Methods

Method Description
AddCourse ( Course course ) : void
RemoveCourse ( Course course ) : void
Teacher ( XmlNode xmlNode ) : TeamOOP.Utilities
Teacher ( string firstName, string lastName, string egn, ContractType contractType, int id, decimal salary, int rating, TeacherRank rank = TeacherRank.Unknown ) : TeamOOP.Utilities
toXML ( ) : System.Xml.Linq.XElement

Method Details

AddCourse() public method

public AddCourse ( Course course ) : void
course PersonModule.PersonDefinitions.Course
return void

RemoveCourse() public method

public RemoveCourse ( Course course ) : void
course PersonModule.PersonDefinitions.Course
return void

Teacher() public method

public Teacher ( XmlNode xmlNode ) : TeamOOP.Utilities
xmlNode System.Xml.XmlNode
return TeamOOP.Utilities

Teacher() public method

public Teacher ( string firstName, string lastName, string egn, ContractType contractType, int id, decimal salary, int rating, TeacherRank rank = TeacherRank.Unknown ) : TeamOOP.Utilities
firstName string
lastName string
egn string
contractType ContractType
id int
salary decimal
rating int
rank TeacherRank
return TeamOOP.Utilities

toXML() public method

public toXML ( ) : System.Xml.Linq.XElement
return System.Xml.Linq.XElement