C# Class AssessmentAnywhere.Services.Assessments.Assessment

Inheritance: IAssessment
Mostra file Open project: pebblecode/AssessmentAnywhere Class Usage Examples

Public Methods

Method Description
AddCandidate ( string surname, string forenames ) : System.Guid
Assessment ( System.Guid id ) : System
Assessment ( System.Guid id, string name ) : System
Assessment ( System.Guid id, string name, decimal totalMarks, IEnumerable results ) : System
RemoveResult ( System.Guid id ) : void
SetCandidateNames ( System.Guid id, string surname, string forenames ) : void
SetCandidateResult ( System.Guid id, decimal result ) : void
SetName ( string name ) : void
SetTotalMarks ( decimal totalMarks ) : void

Method Details

AddCandidate() public method

public AddCandidate ( string surname, string forenames ) : System.Guid
surname string
forenames string
return System.Guid

Assessment() public method

public Assessment ( System.Guid id ) : System
id System.Guid
return System

Assessment() public method

public Assessment ( System.Guid id, string name ) : System
id System.Guid
name string
return System

Assessment() public method

public Assessment ( System.Guid id, string name, decimal totalMarks, IEnumerable results ) : System
id System.Guid
name string
totalMarks decimal
results IEnumerable
return System

RemoveResult() public method

public RemoveResult ( System.Guid id ) : void
id System.Guid
return void

SetCandidateNames() public method

public SetCandidateNames ( System.Guid id, string surname, string forenames ) : void
id System.Guid
surname string
forenames string
return void

SetCandidateResult() public method

public SetCandidateResult ( System.Guid id, decimal result ) : void
id System.Guid
result decimal
return void

SetName() public method

public SetName ( string name ) : void
name string
return void

SetTotalMarks() public method

public SetTotalMarks ( decimal totalMarks ) : void
totalMarks decimal
return void