Extensions..::..GetAnswers Method

Answerses the specified order by predicate.

Namespace:  MichaelBrandonMorris.KingsportMillSafetyTraining.Db
Assembly:  MichaelBrandonMorris.KingsportMillSafetyTraining.Db (in MichaelBrandonMorris.KingsportMillSafetyTraining.Db.dll)

Syntax


public static IList<Answer> GetAnswers(
	Slide slide,
	Func<Answer, Object> orderByPredicate,
	Func<Answer, bool> wherePredicate
)
Public Shared Function GetAnswers ( _
	slide As Slide, _
	orderByPredicate As Func(Of Answer, Object), _
	wherePredicate As Func(Of Answer, Boolean) _
) As IList(Of Answer)
public:
static IList<Answer^>^ GetAnswers(
	Slide^ slide, 
	Func<Answer^, Object^>^ orderByPredicate, 
	Func<Answer^, bool^>^ wherePredicate
)

Parameters

slide
Type: MichaelBrandonMorris.KingsportMillSafetyTraining.Db.Models..::..Slide
The slide.
orderByPredicate
Type: Func<(Of <(<'Answer, Object>)>)>
The order by predicate.
wherePredicate
Type: Func<(Of <(<'Answer, Boolean>)>)>
The where predicate.

Return Value

IList<Answer>.