Поделиться через


AttributeCodeFragment Конструкторы

Определение

Перегрузки

AttributeCodeFragment(Type, Object[])

Инициализирует новый экземпляр класса AttributeCodeFragment.

AttributeCodeFragment(Type, IEnumerable<Object>, IDictionary<String,Object>)

Инициализирует новый экземпляр класса AttributeCodeFragment.

AttributeCodeFragment(Type, Object[])

Инициализирует новый экземпляр класса AttributeCodeFragment.

public AttributeCodeFragment (Type type, params object[] arguments);
public AttributeCodeFragment (Type type, params object?[] arguments);
new Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment : Type * obj[] -> Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment
Public Sub New (type As Type, ParamArray arguments As Object())

Параметры

type
Type

Тип CLR атрибута.

arguments
Object[]

Аргументы атрибута.

Применяется к

AttributeCodeFragment(Type, IEnumerable<Object>, IDictionary<String,Object>)

Инициализирует новый экземпляр класса AttributeCodeFragment.

public AttributeCodeFragment (Type type, System.Collections.Generic.IEnumerable<object?> arguments, System.Collections.Generic.IDictionary<string,object?> namedArguments);
new Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment : Type * seq<obj> * System.Collections.Generic.IDictionary<string, obj> -> Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment
Public Sub New (type As Type, arguments As IEnumerable(Of Object), namedArguments As IDictionary(Of String, Object))

Параметры

type
Type

Тип CLR атрибута.

arguments
IEnumerable<Object>

Позиционные аргументы атрибута.

namedArguments
IDictionary<String,Object>

Именованные аргументы атрибута.

Применяется к