Skip to content

Compono.CompositionProviderRequest.CompositionProviderRequest(System.Type,System.Type,string,Compono.Nullability)

Compono

Compono.CompositionProviderRequest

CompositionProviderRequest(Type, Type, string, Nullability) Constructor

Creates a CompositionProviderRequest.

public CompositionProviderRequest(System.Type requestedType, System.Type? declaringType, string? name, Compono.Nullability nullability);

Parameters

requestedType System.Type

The requested CLR type.

declaringType System.Type

The type whose constructor/required member declares this request, or null for a request with no member identity of its own.

name System.String

The declaring constructor parameter/required member/test-method-parameter's own name, or null for a request with no name of its own.

nullability Nullability

Whether the requesting parameter or member is nullable-annotated.