DesignTimeServicesReferenceAttribute 构造函数

定义

重载

DesignTimeServicesReferenceAttribute(String)

初始化 DesignTimeServicesReferenceAttribute 类的新实例。

DesignTimeServicesReferenceAttribute(String, String)

初始化 DesignTimeServicesReferenceAttribute 类的新实例。

DesignTimeServicesReferenceAttribute(String)

Source:
DesignTimeServicesReferenceAttribute.cs
Source:
DesignTimeServicesReferenceAttribute.cs
Source:
DesignTimeServicesReferenceAttribute.cs
Source:
DesignTimeServicesReferenceAttribute.cs
Source:
DesignTimeServicesReferenceAttribute.cs
Source:
DesignTimeServicesReferenceAttribute.cs
Source:
DesignTimeServicesReferenceAttribute.cs
Source:
DesignTimeServicesReferenceAttribute.cs
Source:
DesignTimeServicesReferenceAttribute.cs

初始化 DesignTimeServicesReferenceAttribute 类的新实例。

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

参数

typeName
String

类型的程序集限定名称,可用于将其他设计时服务添加到 ServiceCollection。 此类型应实现 IDesignTimeServices

适用于

DesignTimeServicesReferenceAttribute(String, String)

Source:
DesignTimeServicesReferenceAttribute.cs
Source:
DesignTimeServicesReferenceAttribute.cs
Source:
DesignTimeServicesReferenceAttribute.cs
Source:
DesignTimeServicesReferenceAttribute.cs
Source:
DesignTimeServicesReferenceAttribute.cs
Source:
DesignTimeServicesReferenceAttribute.cs
Source:
DesignTimeServicesReferenceAttribute.cs
Source:
DesignTimeServicesReferenceAttribute.cs

初始化 DesignTimeServicesReferenceAttribute 类的新实例。

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)

参数

typeName
String

类型的程序集限定名称,可用于将其他设计时服务添加到 ServiceCollection。 此类型应实现 IDesignTimeServices

forProvider
String

应为其添加这些服务的提供程序的名称。 如果为 null,则将为所有提供程序添加服务。

适用于