Table of Contents

Class CallerParameter<T>

Namespace
Rinku
Assembly
Rinku.dll

Describes a caller-supplied argument of type T.

public sealed class CallerParameter<T> : CallerParameter

Type Parameters

T
Inheritance
CallerParameter<T>
Inherited Members
Extension Methods

Methods

ByType()

Matches one otherwise-unbound target parameter whose type is exactly T. No match is allowed. The caller argument is simply ignored when absent. Multiple matches are ambiguous and throw.

public static CallerParameter<T> ByType()

Returns

CallerParameter<T>

Named(string)

Supplies the named target parameter directly. When the target method does not contain that parameter, the caller argument is simply ignored so the same delegate shape can be reused across compatible methods.

public static CallerParameter<T> Named(string parameterName)

Parameters

parameterName string

Returns

CallerParameter<T>