Struct ReflectionCallParameterBinding
One parameter of a reflected method, with where its value comes from.
Inherited Members
Namespace: Serenity.Tasking.Application.Utils
Assembly: Serenity.Global.Application.dll
Syntax
public readonly struct ReflectionCallParameterBinding
Constructors
ReflectionCallParameterBinding(ParameterInfo, ReflectionCallParameterSource, int)
Declaration
public ReflectionCallParameterBinding(ParameterInfo parameter, ReflectionCallParameterSource source, int argumentSlot)
Parameters
| Type | Name | Description |
|---|---|---|
| ParameterInfo | parameter | |
| ReflectionCallParameterSource | source | |
| int | argumentSlot |
Fields
NoArgumentSlot
The ArgumentSlot of a parameter the pipeline supplies, which takes no stored argument.
Declaration
public const int NoArgumentSlot = -1
Field Value
| Type | Description |
|---|---|
| int |
Properties
ArgumentSlot
The index in the stored string arguments this parameter reads, or NoArgumentSlot.
Declaration
public int ArgumentSlot { get; }
Property Value
| Type | Description |
|---|---|
| int |
Parameter
The parameter this binding describes.
Declaration
public ParameterInfo Parameter { get; }
Property Value
| Type | Description |
|---|---|
| ParameterInfo |
Source
Where the parameter's value comes from.
Declaration
public ReflectionCallParameterSource Source { get; }
Property Value
| Type | Description |
|---|---|
| ReflectionCallParameterSource |
TakesStringArgument
True when the parameter reads one of the stored string arguments.
Declaration
public bool TakesStringArgument { get; }
Property Value
| Type | Description |
|---|---|
| bool |