Class MemberRequiredAttribute
- Namespace
- Stride.Core.Annotations
- Assembly
- Stride.Core.dll
This attribute signals the asset compiler that the field/property is required to have a value (i.e. not null) when compiling assets.
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public class MemberRequiredAttribute : Attribute
- Inheritance
-
MemberRequiredAttribute
- Inherited Members
Properties
ReportAs
Gets or sets the reporting level (warning/error) of the notification that the field/property is null.
public MemberRequiredReportType ReportAs { get; set; }