Search Header Logo

Fluent Model Validation

Authored by Nataly Revutska

Computers

1st - 5th Grade

Used 1+ times

Fluent Model Validation
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

ValidationResult object contains property Errors which has type IList<.......>

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Which method should we use to checks whether a numeric value is valid to be in that enum?

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Which class should you inherit from, if you want to create a validator?

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Can we use another validator classes inside "rules construction" building chain?

5.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

What is required from validator class to be automatically `picker up` by the AddFromAssemblyContaining configuration method?

class should be public

class should be protected

class should be private

class should be static

class should not be static

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

NotEmpty Validator ensures that the specified property is:

not empty string

not null

not whitespace

not default value for value types

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

ValidationResult object contains two properties:

ErrorMessage

Errors

ModelState

Value

IsValid

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?