RequiredAttribute constructor (1 of 2)

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Initializes a new instance of the RequiredAttribute class.

public RequiredAttribute()

See Also


RequiredAttribute constructor (2 of 2)

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Initializes a new instance of the RequiredAttribute class.

public RequiredAttribute(bool isRequired)
parameter description
isRequired if set to true [is required].

See Also