C# Class ET.Obj2Schema.Attributes.RequiredAttribute

Inheritance: System.Attribute
Afficher le fichier Open project: etcoding/Obj2Schema

Méthodes publiques

Méthode 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.

Method Details

RequiredAttribute() public méthode

Initializes a new instance of the RequiredAttribute class, and sets a marked property to required.
public RequiredAttribute ( ) : System
Résultat System

RequiredAttribute() public méthode

Initializes a new instance of the RequiredAttribute class, and sets a marked property to the provided value.
public RequiredAttribute ( bool required ) : System
required bool
Résultat System