Class ItemCanBeNullAttribute
- Namespace
- Stride.Core.Annotations
- Assembly
- Stride.Core.dll
Can be appplied to symbols of types derived from IEnumerable<T>
as well as to symbols of Task and Lazy<T> classes
to indicate that the value of a collection item, of the Task.Result property or of the Lazy.Value property
can be null
.
[AttributeUsage(AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Parameter|AttributeTargets.Delegate)]
public sealed class ItemCanBeNullAttribute : Attribute
- Inheritance
-
ItemCanBeNullAttribute
- Inherited Members