C# Class AI_Project_3.Quarter

Inheritance: INotifyPropertyChanged
Show file Open project: ifwong/CS175_group2

Public Properties

Property Type Description
Size int

Public Methods

Method Description
Quarter ( int yN, QuarterType qT ) : System

Quarters house a yearNum, quarterType, and as well as a list of classes

addClass ( Class c ) : void

Adds a class to the list of classes

getClass ( int i ) : Class
removeCLass ( Class c ) : void

Removes a class from the list of classes matching the specified class

removeClass ( String displayString ) : void

Removes a class by name

removeClass ( int index ) : void

Removes a class from the list of classes by index

size ( ) : int
toString ( ) : String

Private Methods

Method Description
OnPropertyChanged ( string property ) : void

Method Details

Quarter() public method

Quarters house a yearNum, quarterType, and as well as a list of classes
public Quarter ( int yN, QuarterType qT ) : System
yN int
qT QuarterType
return System

addClass() public method

Adds a class to the list of classes
public addClass ( Class c ) : void
c Class Class
return void

getClass() public method

public getClass ( int i ) : Class
i int
return Class

removeCLass() public method

Removes a class from the list of classes matching the specified class
public removeCLass ( Class c ) : void
c Class Class
return void

removeClass() public method

Removes a class by name
public removeClass ( String displayString ) : void
displayString String Class display string
return void

removeClass() public method

Removes a class from the list of classes by index
public removeClass ( int index ) : void
index int int
return void

size() public method

public size ( ) : int
return int

toString() public method

public toString ( ) : String
return String

Property Details

Size public property

public int Size
return int