MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeIField­Or­PropertyIs­Required
Open sandboxFocus

IFieldOrProperty.IsRequired Property

IsRequired

Gets 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; }
Property Value
Type Description
System.Boolean