C# Class ET.Obj2Schema.Attributes.RequiredAttribute

Inheritance: System.Attribute
Mostrar archivo Open project: etcoding/Obj2Schema

Public Methods

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.

Method Details

RequiredAttribute() public method

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

RequiredAttribute() public method

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