Open sandboxFocus

Property ReceiverParameter

ReceiverParameter

Gets the receiver parameter builder. Use this to configure the receiver type and name.

Declaration
IParameterBuilder ReceiverParameter { get; }
Property Value
Type Description
IParameterBuilder
Remarks

To create a static extension (members appear as static members of the extended type), set Name to null or empty string.

To create an instance extension (members appear as instance members of the extended type), set Name to a non-empty string (e.g., "self", "value").

The Type property specifies the type being extended.