AttributeCodeFragment Constructors

Definition

Overloads

AttributeCodeFragment(Type, Object[])

Initializes a new instance of the AttributeCodeFragment class.

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

Initializes a new instance of the AttributeCodeFragment class.

AttributeCodeFragment(Type, Object[])

Initializes a new instance of the AttributeCodeFragment class.

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())

Parameters

type
Type

The attribute's CLR type.

arguments
Object[]

The attribute's arguments.

Applies to

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

Initializes a new instance of the AttributeCodeFragment class.

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))

Parameters

type
Type

The attribute's CLR type.

arguments
IEnumerable<Object>

The attribute's positional arguments.

namedArguments
IDictionary<String,Object>

The attribute's named arguments.

Applies to