DependencyInjectionParameterBinding Constructors

Definition

Overloads

DependencyInjectionParameterBinding(Type, Type, IPropertyBase)

Creates a new DependencyInjectionParameterBinding instance for the given service type.

DependencyInjectionParameterBinding(Type, Type, IPropertyBase[])

Creates a new DependencyInjectionParameterBinding instance for the given service type.

DependencyInjectionParameterBinding(Type, Type, IPropertyBase)

Creates a new DependencyInjectionParameterBinding instance for the given service type.

public DependencyInjectionParameterBinding (Type parameterType, Type serviceType, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase serviceProperty = default);
new Microsoft.EntityFrameworkCore.Metadata.DependencyInjectionParameterBinding : Type * Type * Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> Microsoft.EntityFrameworkCore.Metadata.DependencyInjectionParameterBinding
Public Sub New (parameterType As Type, serviceType As Type, Optional serviceProperty As IPropertyBase = Nothing)

Parameters

parameterType
Type

The parameter CLR type.

serviceType
Type

The service CLR types, as resolved from dependency injection

serviceProperty
IPropertyBase

The associated IServiceProperty, or null.

Applies to

DependencyInjectionParameterBinding(Type, Type, IPropertyBase[])

Creates a new DependencyInjectionParameterBinding instance for the given service type.

public DependencyInjectionParameterBinding (Type parameterType, Type serviceType, params Microsoft.EntityFrameworkCore.Metadata.IPropertyBase[]? serviceProperties);
new Microsoft.EntityFrameworkCore.Metadata.DependencyInjectionParameterBinding : Type * Type * Microsoft.EntityFrameworkCore.Metadata.IPropertyBase[] -> Microsoft.EntityFrameworkCore.Metadata.DependencyInjectionParameterBinding
Public Sub New (parameterType As Type, serviceType As Type, ParamArray serviceProperties As IPropertyBase())

Parameters

parameterType
Type

The parameter CLR type.

serviceType
Type

The service CLR types, as resolved from dependency injection

serviceProperties
IPropertyBase[]

The associated IServiceProperty objects, or null.

Applies to