NestedClosureCodeFragment Constructors

Definition

Overloads

NestedClosureCodeFragment(String, MethodCallCodeFragment)

Initializes a new instance of the NestedClosureCodeFragment class.

NestedClosureCodeFragment(String, IReadOnlyList<MethodCallCodeFragment>)

Initializes a new instance of the NestedClosureCodeFragment class.

NestedClosureCodeFragment(String, MethodCallCodeFragment)

Initializes a new instance of the NestedClosureCodeFragment class.

public NestedClosureCodeFragment (string parameter, Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment methodCall);
new Microsoft.EntityFrameworkCore.Design.NestedClosureCodeFragment : string * Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment -> Microsoft.EntityFrameworkCore.Design.NestedClosureCodeFragment
Public Sub New (parameter As String, methodCall As MethodCallCodeFragment)

Parameters

parameter
String

The nested closure parameter's name.

methodCall
MethodCallCodeFragment

The method call used as the body of the nested closure.

Applies to

NestedClosureCodeFragment(String, IReadOnlyList<MethodCallCodeFragment>)

Initializes a new instance of the NestedClosureCodeFragment class.

public NestedClosureCodeFragment (string parameter, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> methodCalls);
new Microsoft.EntityFrameworkCore.Design.NestedClosureCodeFragment : string * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> -> Microsoft.EntityFrameworkCore.Design.NestedClosureCodeFragment
Public Sub New (parameter As String, methodCalls As IReadOnlyList(Of MethodCallCodeFragment))

Parameters

parameter
String

The nested closure parameter's name.

methodCalls
IReadOnlyList<MethodCallCodeFragment>

The list of method calls used as the body of the nested closure.

Applies to