MetalamaAPI documentationAspect APIMetalama.​Framework.​Code.​Declaration­BuildersIField­Or­Property­BuilderIs­Required
Open sandboxFocus

IFieldOrPropertyBuilder.IsRequired Property

IsRequired

Gets or sets a value indicating whether the field or property is required, i.e. it must be initialized when an instance of the declaring type is initialized.

Declaration
bool IsRequired { get; set; }
Property Value
Type Description
bool