Method | Description | |
---|---|---|
RequiredAttribute ( ) : System |
Initializes a new instance of the RequiredAttribute class, and sets a marked property to required.
|
|
RequiredAttribute ( bool required ) : System |
Initializes a new instance of the RequiredAttribute class, and sets a marked property to the provided value.
|
public RequiredAttribute ( bool required ) : System | ||
required | bool | |
return | System |