Share via


DesignTimeServicesReferenceAttribute Constructors

Definition

Overloads

DesignTimeServicesReferenceAttribute(String)

Initializes a new instance of the DesignTimeServicesReferenceAttribute class.

DesignTimeServicesReferenceAttribute(String, String)

Initializes a new instance of the DesignTimeServicesReferenceAttribute class.

DesignTimeServicesReferenceAttribute(String)

Initializes a new instance of the DesignTimeServicesReferenceAttribute class.

public DesignTimeServicesReferenceAttribute (string typeName);
new Microsoft.EntityFrameworkCore.Design.DesignTimeServicesReferenceAttribute : string -> Microsoft.EntityFrameworkCore.Design.DesignTimeServicesReferenceAttribute
Public Sub New (typeName As String)

Parameters

typeName
String

The assembly-qualified name of the type that can be used to add additional design time services to a ServiceCollection. This type should implement IDesignTimeServices.

Applies to

DesignTimeServicesReferenceAttribute(String, String)

Initializes a new instance of the DesignTimeServicesReferenceAttribute class.

public DesignTimeServicesReferenceAttribute (string typeName, string forProvider);
public DesignTimeServicesReferenceAttribute (string typeName, string? forProvider);
new Microsoft.EntityFrameworkCore.Design.DesignTimeServicesReferenceAttribute : string * string -> Microsoft.EntityFrameworkCore.Design.DesignTimeServicesReferenceAttribute
Public Sub New (typeName As String, forProvider As String)

Parameters

typeName
String

The assembly-qualified name of the type that can be used to add additional design time services to a ServiceCollection. This type should implement IDesignTimeServices.

forProvider
String

The name of the provider for which these services should be added. If null, the services will be added for all providers.

Applies to