 | InvokerParameterNameAttribute Class |
Indicates that the function argument should be string literal and match one
of the parameters of the caller function. For example, ReSharper annotates
the parameter of
ArgumentNullException
Inheritance Hierarchy
Namespace: Hangfire.AnnotationsAssembly: Hangfire.Core (in Hangfire.Core.dll) Version: 1.5.0.0
Syntax[AttributeUsageAttribute(AttributeTargets.Parameter, AllowMultiple = false,
Inherited = true)]
public sealed class InvokerParameterNameAttribute : Attribute
<AttributeUsageAttribute(AttributeTargets.Parameter, AllowMultiple := false,
Inherited := true)>
Public NotInheritable Class InvokerParameterNameAttribute
Inherits Attribute
The InvokerParameterNameAttribute type exposes the following members.
Constructors
Examplespublic void Foo(string param)
{
if (param == null)
throw new ArgumentNullException("par");
}
See Also