Język

FluentApiCodeFragment Klasa

Definicja

Reprezentuje płynne wywołanie metody interfejsu API.

[System.Runtime.CompilerServices.Nullable(0)]
public class FluentApiCodeFragment : Microsoft.EntityFrameworkCore.Design.IMethodCallCodeFragment
public class FluentApiCodeFragment : Microsoft.EntityFrameworkCore.Design.IMethodCallCodeFragment
[<System.Runtime.CompilerServices.Nullable(0)>]
type FluentApiCodeFragment = class
    interface IMethodCallCodeFragment
type FluentApiCodeFragment = class
    interface IMethodCallCodeFragment
Public Class FluentApiCodeFragment
Implements IMethodCallCodeFragment
Dziedziczenie
FluentApiCodeFragment
Atrybuty
Implementuje

Konstruktory

Nazwisko Opis
FluentApiCodeFragment(String)

Inicjuje nowe wystąpienie klasy FluentApiCodeFragment.

Właściwości

Nazwisko Opis
Arguments

Pobiera argumenty wywołania metody.

ChainedCall

Pobiera następne wywołanie metody do łańcucha po tym.

DeclaringType

Pobiera nazwę typu deklaratywnego metody.

IsHandledByDataAnnotations

Pobiera lub ustawia wartość wskazującą, czy to wywołanie metody ma równoważną adnotację danych.

Method

Pobiera nazwę metody.

Namespace

Pobiera przestrzeń nazw typu deklaratywnego metody.

TypeArguments

Pobiera argumenty typu ogólnego wywołania metody.

Metody

Nazwisko Opis
Chain(FluentApiCodeFragment)

Tworzy łańcuch metod z tej metody do innej.

FilterChain(Func<FluentApiCodeFragment,Boolean>)

Tworzy nowy łańcuch metod z wywołaniami filtrowanych na podstawie predykatu.

From(MethodCallCodeFragment)

Tworzy nowe wywołanie metody płynnego interfejsu API na podstawie istniejącego wywołania metody.

GetRequiredUsings()

Pobiera instrukcje using wymagane dla tego łańcucha metod.

Jawne implementacje interfejsu

Nazwisko Opis
IMethodCallCodeFragment.Arguments

Reprezentuje płynne wywołanie metody interfejsu API.

IMethodCallCodeFragment.ChainedCall

Reprezentuje płynne wywołanie metody interfejsu API.

IMethodCallCodeFragment.TypeArguments

Reprezentuje płynne wywołanie metody interfejsu API.

Dotyczy