| NotNullAttribute Class |
Indicates that the value of the marked element could never be null
Inheritance Hierarchy
Namespace: Hangfire.AnnotationsAssembly: Hangfire.Core (in Hangfire.Core.dll) Version: 1.5.0.0
Syntax [AttributeUsageAttribute(AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Parameter|AttributeTargets.Delegate, AllowMultiple = false,
Inherited = true)]
public sealed class NotNullAttribute : Attribute
<AttributeUsageAttribute(AttributeTargets.Method Or AttributeTargets.Property Or AttributeTargets.Field Or AttributeTargets.Parameter Or AttributeTargets.Delegate, AllowMultiple := false,
Inherited := true)>
Public NotInheritable Class NotNullAttribute
Inherits Attribute
The NotNullAttribute type exposes the following members.
Constructors Examples [NotNull]
public object Foo()
{
return null;
}
See Also