C# Class AssessmentAnywhere.Models.AssessmentEditor.EditModel

Datei anzeigen Open project: pebblecode/AssessmentAnywhere

Public Methods

Method Description
EditModel ( System.Guid id, UpdateModel model ) : System
EditModel ( System.Guid id, UpdateModel model, IGradeBoundaries boundaries ) : System
EditModel ( System.Guid id, string name, IList results, decimal totalMarks, ResultRow newRow, int selectedResultIndex ) : System
EditModel ( System.Guid id, string name, IList results, decimal totalMarks, int selectedResultIndex ) : System
EditModel ( IAssessment assessment, IGradeBoundaries boundaries, int lastSelectedResult ) : System
EditModel ( IAssessment assessment, int lastSelectedResult ) : System

Private Methods

Method Description
GenerateResultsFromRepoModels ( IAssessment assessment ) : IList
GenerateResultsFromRepoModels ( IAssessment assessment, IGradeBoundaries boundaries ) : IList
GenerateResultsFromUpdateModel ( UpdateModel model ) : List
GenerateResultsFromUpdateModel ( UpdateModel model, IGradeBoundaries boundaries ) : List
GetSelectedResultIndex ( int lastSelectedResult, IList results ) : int?

Method Details

EditModel() public method

public EditModel ( System.Guid id, UpdateModel model ) : System
id System.Guid
model UpdateModel
return System

EditModel() public method

public EditModel ( System.Guid id, UpdateModel model, IGradeBoundaries boundaries ) : System
id System.Guid
model UpdateModel
boundaries IGradeBoundaries
return System

EditModel() public method

public EditModel ( System.Guid id, string name, IList results, decimal totalMarks, ResultRow newRow, int selectedResultIndex ) : System
id System.Guid
name string
results IList
totalMarks decimal
newRow ResultRow
selectedResultIndex int
return System

EditModel() public method

public EditModel ( System.Guid id, string name, IList results, decimal totalMarks, int selectedResultIndex ) : System
id System.Guid
name string
results IList
totalMarks decimal
selectedResultIndex int
return System

EditModel() public method

public EditModel ( IAssessment assessment, IGradeBoundaries boundaries, int lastSelectedResult ) : System
assessment IAssessment
boundaries IGradeBoundaries
lastSelectedResult int
return System

EditModel() public method

public EditModel ( IAssessment assessment, int lastSelectedResult ) : System
assessment IAssessment
lastSelectedResult int
return System